summaryrefslogtreecommitdiff
path: root/polkitgtkmate/polkitlockbutton.h
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.h
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.h')
-rw-r--r--polkitgtkmate/polkitlockbutton.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/polkitgtkmate/polkitlockbutton.h b/polkitgtkmate/polkitlockbutton.h
index ce3affe..4360815 100644
--- a/polkitgtkmate/polkitlockbutton.h
+++ b/polkitgtkmate/polkitlockbutton.h
@@ -57,11 +57,7 @@ typedef struct _PolkitLockButtonPrivate PolkitLockButtonPrivate;
* should be accessed using the provided API.
*/
struct _PolkitLockButton {
-#if GTK_CHECK_VERSION (3, 0, 0)
GtkBox parent;
-#else
- GtkHBox parent;
-#endif
/*< private >*/
PolkitLockButtonPrivate* priv;
@@ -75,11 +71,7 @@ struct _PolkitLockButton {
* Class structure for #PolkitLockButton.
*/
struct _PolkitLockButtonClass {
-#if GTK_CHECK_VERSION (3, 0, 0)
GtkBoxClass parent_class;
-#else
- GtkHBoxClass parent_class;
-#endif
/* Signals */
void (*changed)(PolkitLockButton* button);