diff options
author | infirit <[email protected]> | 2014-06-02 18:10:47 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-06-02 22:15:46 +0200 |
commit | 53a1fe800f9f0c90dc298ba228b29852147794bb (patch) | |
tree | 9dd51bac0cfdeb6767577986362c553709f3b333 /trashapplet/src/trash-empty.c | |
parent | 4aebcf242c792e3c6e4b0162a74b90c7d882fb38 (diff) | |
download | mate-applets-53a1fe800f9f0c90dc298ba228b29852147794bb.tar.bz2 mate-applets-53a1fe800f9f0c90dc298ba228b29852147794bb.tar.xz |
Replace GtkObject with GObject also for gtk2
Diffstat (limited to 'trashapplet/src/trash-empty.c')
-rw-r--r-- | trashapplet/src/trash-empty.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/trashapplet/src/trash-empty.c b/trashapplet/src/trash-empty.c index 18a1260a..6505e50c 100644 --- a/trashapplet/src/trash-empty.c +++ b/trashapplet/src/trash-empty.c @@ -125,11 +125,7 @@ trash_empty_update_dialog (gpointer user_data) static gboolean trash_empty_done (gpointer user_data) { -#if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_destroy (GTK_WIDGET (trash_empty_dialog)); -#else - gtk_object_destroy (GTK_OBJECT (trash_empty_dialog)); -#endif g_assert (trash_empty_dialog == NULL); @@ -264,11 +260,7 @@ trash_empty_start (GtkWidget *parent) g_critical ("failed to parse trash-empty dialog markup"); if (trash_empty_dialog) -#if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_destroy (GTK_WIDGET (trash_empty_dialog)); -#else - gtk_object_destroy (GTK_OBJECT (trash_empty_dialog)); -#endif g_object_unref (builder); return; @@ -310,11 +302,7 @@ trash_empty_confirmation_response (GtkDialog *dialog, if (response_id == GTK_RESPONSE_YES) trash_empty_start (GTK_WIDGET (dialog)); -#if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_destroy (GTK_WIDGET (dialog)); -#else - gtk_object_destroy (GTK_OBJECT (dialog)); -#endif g_assert (trash_empty_confirm_dialog == NULL); } |