[gnumeric] Compilation: more 64-bit signal confusion.



commit 40607024a048f01c95098b48944d2e5b44f9d0a6
Author: Morten Welinder <terra gnome org>
Date:   Thu Jul 16 22:57:48 2020 -0400

    Compilation: more 64-bit signal confusion.

 src/dialogs/dialog-cell-format.c | 6 +++---
 src/sheet-object-component.c     | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/dialogs/dialog-cell-format.c b/src/dialogs/dialog-cell-format.c
index a4f54f8b4..8c9847dd1 100644
--- a/src/dialogs/dialog-cell-format.c
+++ b/src/dialogs/dialog-cell-format.c
@@ -274,7 +274,7 @@ cb_page_select (G_GNUC_UNUSED GtkNotebook *notebook,
 static void
 cb_notebook_destroy (GtkWidget *nb, gpointer page_sig_ptr)
 {
-       g_signal_handler_disconnect (nb, GPOINTER_TO_UINT (page_sig_ptr));
+       g_signal_handler_disconnect (nb, GPOINTER_TO_SIZE (page_sig_ptr));
 }
 
 /*
@@ -2276,7 +2276,7 @@ fmt_dialog_impl (FormatState *state, FormatDialogPosition_t pageno, gint pages)
                NULL
        };
 
-       int page_signal;
+       gulong page_signal;
        int i, selected;
        char const *name;
        gboolean has_back;
@@ -2325,7 +2325,7 @@ fmt_dialog_impl (FormatState *state, FormatDialogPosition_t pageno, gint pages)
                G_CALLBACK (cb_page_select), NULL);
        g_signal_connect (G_OBJECT (state->notebook),
                "destroy",
-               G_CALLBACK (cb_notebook_destroy), GINT_TO_POINTER (page_signal));
+               G_CALLBACK (cb_notebook_destroy), GSIZE_TO_POINTER (page_signal));
 
        /* Setup border line pattern buttons & select the 1st button */
        for (i = MSTYLE_BORDER_TOP; i < MSTYLE_BORDER_DIAGONAL; i++) {
diff --git a/src/sheet-object-component.c b/src/sheet-object-component.c
index 5efd20a7c..70c25b7f1 100644
--- a/src/sheet-object-component.c
+++ b/src/sheet-object-component.c
@@ -87,7 +87,6 @@ static GSF_CLASS (SOComponentGocView, so_component_goc_view,
 typedef struct {
        SheetObject  base;
        GOComponent     *component;
-       guint changed_signal;
 } SheetObjectComponent;
 typedef SheetObjectClass SheetObjectComponentClass;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]