summaryrefslogtreecommitdiff
path: root/polkitgtkmate/polkitlockbutton.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-20 13:11:30 +0300
committermonsta <[email protected]>2016-01-20 13:11:30 +0300
commit9277713c575f7ac30fb218b5955895050894f63a (patch)
tree9e35ce62b2871de2a4cca7061208b3a6c4def380 /polkitgtkmate/polkitlockbutton.c
parentbfc4984bf54831905b5f120917587852a3b551aa (diff)
downloadmate-polkit-9277713c575f7ac30fb218b5955895050894f63a.tar.bz2
mate-polkit-9277713c575f7ac30fb218b5955895050894f63a.tar.xz
use GtkBox instead of GtkHBox in both GTK+ builds
and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build
Diffstat (limited to 'polkitgtkmate/polkitlockbutton.c')
-rw-r--r--polkitgtkmate/polkitlockbutton.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/polkitgtkmate/polkitlockbutton.c b/polkitgtkmate/polkitlockbutton.c
index e1ad610..1b15cbe 100644
--- a/polkitgtkmate/polkitlockbutton.c
+++ b/polkitgtkmate/polkitlockbutton.c
@@ -209,11 +209,7 @@ static void on_authority_changed(PolkitAuthority* authority, gpointer user_data)
static void on_clicked(GtkButton* button, gpointer user_data);
-#if GTK_CHECK_VERSION (3, 0, 0)
G_DEFINE_TYPE(PolkitLockButton, polkit_lock_button, GTK_TYPE_BOX);
-#else
-G_DEFINE_TYPE(PolkitLockButton, polkit_lock_button, GTK_TYPE_HBOX);
-#endif
static void polkit_lock_button_finalize(GObject* object)
{