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 /battstat/battstat-upower.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 'battstat/battstat-upower.c')
-rw-r--r-- | battstat/battstat-upower.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/battstat/battstat-upower.c b/battstat/battstat-upower.c index b0838176..792be860 100644 --- a/battstat/battstat-upower.c +++ b/battstat/battstat-upower.c @@ -325,15 +325,9 @@ error_dialog( const char *fmt , ...) dialog = gtk_message_dialog_new( NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", str); -#if GTK_CHECK_VERSION (3, 0, 0) g_signal_connect_swapped( G_OBJECT (dialog), "response", G_CALLBACK (gtk_widget_destroy), G_OBJECT (dialog) ); -#else - g_signal_connect_swapped( GTK_OBJECT (dialog), "response", - G_CALLBACK (gtk_widget_destroy), - GTK_OBJECT (dialog) ); -#endif gtk_widget_show_all( dialog ); } |