[goffice] Fix equations edition inside charts.



commit 1341926965faceb2c98883969f80b5a502f4c91f
Author: Jean Brefort <jean brefort normalesup org>
Date:   Fri Jun 7 15:50:05 2019 +0200

    Fix equations edition inside charts.

 ChangeLog                    | 5 +++++
 NEWS                         | 3 +++
 goffice/gtk/go-math-editor.c | 4 ++--
 3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e072a96f..48c7069b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-07  Jean Brefort  <jean brefort normalesup org>
+
+       * goffice/gtk/go-math-editor.c (go_math_editor_class_init): fix signals to
+       make it work again.
+
 2019-05-22  Morten Welinder <terra gnome org>
 
        * configure.ac: Post-release bump.
diff --git a/NEWS b/NEWS
index 052cf71d..b1452c43 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 goffice 0.10.46:
 
+Jean:
+       * Fix equations edition inside charts.
+
 --------------------------------------------------------------------------
 goffice 0.10.45:
 
diff --git a/goffice/gtk/go-math-editor.c b/goffice/gtk/go-math-editor.c
index 70bfb6f6..28224028 100644
--- a/goffice/gtk/go-math-editor.c
+++ b/goffice/gtk/go-math-editor.c
@@ -58,7 +58,7 @@ go_math_editor_class_init (GtkWidgetClass *klass)
                        G_SIGNAL_RUN_LAST,
                        G_STRUCT_OFFSET (GoMathEditorClass, itex_changed),
                        NULL, NULL,
-                       g_cclosure_marshal_VOID__POINTER,
+                       g_cclosure_marshal_VOID__VOID,
                        G_TYPE_NONE, 0);
        gme_signals[INLINE_CHANGED] =
                g_signal_new (
@@ -67,7 +67,7 @@ go_math_editor_class_init (GtkWidgetClass *klass)
                        G_SIGNAL_RUN_LAST,
                        G_STRUCT_OFFSET (GoMathEditorClass, inline_changed),
                        NULL, NULL,
-                       g_cclosure_marshal_VOID__POINTER,
+                       g_cclosure_marshal_VOID__VOID,
                        G_TYPE_NONE, 0);
 }
 


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