This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch tymux
in repository terminology.

View the commit online.

commit b18e17962cec4e62b2ab13c2af7ec552a1a4dca2
Author: [email protected] <[email protected]>
AuthorDate: Mon Mar 16 12:34:20 2026 -0600

    fix: resolve 17 compiler warnings in tymuxd build
    
    The tymuxd daemon compiles termptyesc.c and colors.c which require
    Elementary, Edje, Efreet, and Ecore_File declarations, but tymuxd
    itself doesn't link Elementary. Fix the BINARY_TYMUXD conditional block
    by adding missing includes for proper function declarations.
    
    Also corrected struct/typedef definitions to match Elementary's actual
    layout: Elm_Selection_Data now includes x/y coordinates, proper action
    field, and len as size_t; Elm_Drop_Cb callback signature now matches
    the real Elementary.h definition with Eina_Bool return and proper
    parameter types.
    
    Added forward declarations for stub functions (elm_app_data_dir_get,
    elm_need_sys_notify, elm_sys_notify_send) that are implemented in
    tymuxd_stubs.c.
    
    This eliminates implicit-function-declaration and incompatible-pointer
    warnings during tymuxd compilation.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
 src/bin/private.h | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/bin/private.h b/src/bin/private.h
index e38defb3..e2114a16 100644
--- a/src/bin/private.h
+++ b/src/bin/private.h
@@ -40,14 +40,35 @@ extern int terminology_starting_up;
 # include <Ecore_Evas.h>
 # include <Ecore_IMF.h>
 # include <Ecore_IMF_Evas.h>
+# include <Edje.h>
+# include <Ecore_File.h>
+# include <Efreet.h>
 typedef int Elm_Sel_Type;
 typedef int Elm_Sel_Format;
-typedef void (*Elm_Drop_Cb)(void *, void *, void *);
-typedef struct { void *data; int format; unsigned int len; } Elm_Selection_Data;
+typedef int Elm_Xdnd_Action;
+typedef struct {
+   Evas_Coord      x, y;
+   Elm_Sel_Format  format;
+   void           *data;
+   size_t          len;
+   Elm_Xdnd_Action action;
+} Elm_Selection_Data;
+typedef Eina_Bool (*Elm_Drop_Cb)(void *data, Evas_Object *obj, Elm_Selection_Data *ev);
 # define ELM_SEL_TYPE_PRIMARY    0
 # define ELM_SEL_TYPE_CLIPBOARD  3
 # define ELM_SEL_FORMAT_TEXT     (1 << 1)
 # define ELM_SYS_NOTIFY_URGENCY_NORMAL 1
+/* Elementary function stubs — declared here, defined in tymuxd_stubs.c */
+const char  *elm_app_data_dir_get(void);
+Eina_Bool    elm_need_sys_notify(void);
+void         elm_sys_notify_send(unsigned int replaces_id,
+                                 const char *icon,
+                                 const char *summary,
+                                 const char *body,
+                                 int urgency,
+                                 int timeout,
+                                 void (*cb)(void *, unsigned int),
+                                 void *data);
 #endif
 extern int _log_domain;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to