[PolicyKit-gnome] Use GtkBox instead of GtkHBox
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [PolicyKit-gnome] Use GtkBox instead of GtkHBox
- Date: Thu, 16 Jun 2011 11:31:46 +0000 (UTC)
commit f2abbedba6f0b256854204cb83cbffd806a40a2f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 16 07:30:58 2011 -0400
Use GtkBox instead of GtkHBox
This is to stay clear of GTK+ deprecations.
polkitgtk/polkitlockbutton.c | 2 +-
polkitgtk/polkitlockbutton.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/polkitgtk/polkitlockbutton.c b/polkitgtk/polkitlockbutton.c
index 6d98df5..9a128db 100644
--- a/polkitgtk/polkitlockbutton.c
+++ b/polkitgtk/polkitlockbutton.c
@@ -215,7 +215,7 @@ static void on_authority_changed (PolkitAuthority *authority,
static void on_clicked (GtkButton *button,
gpointer user_data);
-G_DEFINE_TYPE (PolkitLockButton, polkit_lock_button, GTK_TYPE_HBOX);
+G_DEFINE_TYPE (PolkitLockButton, polkit_lock_button, GTK_TYPE_BOX);
static void
polkit_lock_button_finalize (GObject *object)
diff --git a/polkitgtk/polkitlockbutton.h b/polkitgtk/polkitlockbutton.h
index 35ce53e..eb93515 100644
--- a/polkitgtk/polkitlockbutton.h
+++ b/polkitgtk/polkitlockbutton.h
@@ -47,7 +47,7 @@ typedef struct _PolkitLockButtonPrivate PolkitLockButtonPrivate;
*/
struct _PolkitLockButton
{
- GtkHBox parent;
+ GtkBox parent;
/*< private >*/
PolkitLockButtonPrivate *priv;
@@ -62,7 +62,7 @@ struct _PolkitLockButton
*/
struct _PolkitLockButtonClass
{
- GtkHBoxClass parent_class;
+ GtkBoxClass parent_class;
/* Signals */
void (*changed) (PolkitLockButton *button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]