summaryrefslogtreecommitdiff
path: root/src/caja-bookmarks-window.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-31 04:42:15 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:51 +0200
commit2472d52a0f28dd84d362dcc5570e747a82aa8ba6 (patch)
tree3761aac83f319d8e4fb76286b0a5e1f3e2430fe9 /src/caja-bookmarks-window.c
parentae33b1c624c008ca0818ab08735968c8d01fae1c (diff)
downloadcaja-2472d52a0f28dd84d362dcc5570e747a82aa8ba6.tar.bz2
caja-2472d52a0f28dd84d362dcc5570e747a82aa8ba6.tar.xz
[src] don't use GtkObject (GTK3)
the ::destroy signal of GtkObject has only been moved to GtkWidget in GTK3 (after GtkObject removal): http://developer.gnome.org/gtk3/3.0/ch25s02.html So we use conditionals in this case, to keep it working with GTK2. A tad similar: http://git.gnome.org/browse/nautilus/commit/?id=cc6cb51e827c0b15d4ef09f12d37b9f331ddcef8
Diffstat (limited to 'src/caja-bookmarks-window.c')
-rw-r--r--src/caja-bookmarks-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/caja-bookmarks-window.c b/src/caja-bookmarks-window.c
index 2ce15aae..4b13a1ee 100644
--- a/src/caja-bookmarks-window.c
+++ b/src/caja-bookmarks-window.c
@@ -229,9 +229,9 @@ static void
edit_bookmarks_dialog_reset_signals (gpointer data,
GObject *obj)
{
- g_signal_handler_disconnect (GTK_OBJECT (jump_button),
+ g_signal_handler_disconnect (jump_button,
jump_button_signal_id);
- g_signal_handler_disconnect (GTK_OBJECT (bookmark_list_widget),
+ g_signal_handler_disconnect (bookmark_list_widget,
row_activated_signal_id);
jump_button_signal_id =
g_signal_connect (jump_button, "clicked",
@@ -415,9 +415,9 @@ void
edit_bookmarks_dialog_set_signals (CajaWindow *window)
{
- g_signal_handler_disconnect (GTK_OBJECT (jump_button),
+ g_signal_handler_disconnect (jump_button,
jump_button_signal_id);
- g_signal_handler_disconnect (GTK_OBJECT (bookmark_list_widget),
+ g_signal_handler_disconnect (bookmark_list_widget,
row_activated_signal_id);
jump_button_signal_id =