[gedit-plugins] Fix compile error (GtkObject is no more)
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Fix compile error (GtkObject is no more)
- Date: Sat, 6 Nov 2010 20:14:16 +0000 (UTC)
commit 36855cdfd0266339220c161c21e6282a2a3b0605
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Nov 6 21:15:30 2010 +0100
Fix compile error (GtkObject is no more)
plugins/drawspaces/gedit-drawspaces-plugin.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/plugins/drawspaces/gedit-drawspaces-plugin.c b/plugins/drawspaces/gedit-drawspaces-plugin.c
index a6ef128..f88042a 100644
--- a/plugins/drawspaces/gedit-drawspaces-plugin.c
+++ b/plugins/drawspaces/gedit-drawspaces-plugin.c
@@ -346,7 +346,7 @@ gedit_drawspaces_plugin_deactivate (GeditWindowActivatable *activatable)
}
static void
-widget_destroyed (GtkObject *obj, gpointer widget_pointer)
+widget_destroyed (GtkWidget *obj, gpointer widget_pointer)
{
DrawspacesConfigureWidget *widget = (DrawspacesConfigureWidget *)widget_pointer;
@@ -573,8 +573,10 @@ get_configuration_widget (GeditDrawspacesPlugin *plugin)
G_CALLBACK (on_draw_trailing_toggled),
widget);
- g_signal_connect (widget->content, "destroy",
- G_CALLBACK (widget_destroyed), widget);
+ g_signal_connect (widget->content,
+ "destroy",
+ G_CALLBACK (widget_destroyed),
+ widget);
return widget;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]