diff options
author | Thomas Hindoe Paaboel Andersen <thomashpa@src.gnome.org> | 2009-02-16 22:19:36 +0000 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <thomashpa@src.gnome.org> | 2009-02-16 22:19:36 +0000 |
commit | 5041985799b38cacf845c83ec4a9170e67707a12 (patch) | |
tree | 2970666d93a01f0606b1d38380ac3aa07cb08a00 /gui | |
parent | 7102a122b16a48bca50b6e1d86c61846e2b8e677 (diff) | |
download | gdm-5041985799b38cacf845c83ec4a9170e67707a12.tar.gz |
Replace deprecated GTK symbols
svn path=/trunk/; revision=6707
Diffstat (limited to 'gui')
-rw-r--r-- | gui/simple-greeter/libnotificationarea/obox.c | 4 | ||||
-rw-r--r-- | gui/user-switch-applet/applet.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/simple-greeter/libnotificationarea/obox.c b/gui/simple-greeter/libnotificationarea/obox.c index 96e4265c..526ce026 100644 --- a/gui/simple-greeter/libnotificationarea/obox.c +++ b/gui/simple-greeter/libnotificationarea/obox.c @@ -73,10 +73,10 @@ get_class (NaOBox *obox) switch (obox->orientation) { case GTK_ORIENTATION_HORIZONTAL: - klass = GTK_WIDGET_CLASS (gtk_type_class (GTK_TYPE_HBOX)); + klass = GTK_WIDGET_CLASS (g_type_class_peek (GTK_TYPE_HBOX)); break; case GTK_ORIENTATION_VERTICAL: - klass = GTK_WIDGET_CLASS (gtk_type_class (GTK_TYPE_VBOX)); + klass = GTK_WIDGET_CLASS (g_type_class_peek (GTK_TYPE_VBOX)); break; default: g_assert_not_reached (); diff --git a/gui/user-switch-applet/applet.c b/gui/user-switch-applet/applet.c index d382358d..539814f2 100644 --- a/gui/user-switch-applet/applet.c +++ b/gui/user-switch-applet/applet.c @@ -316,7 +316,7 @@ applet_change_background_cb (PanelApplet *applet, gtk_widget_set_style (adata->menubar, NULL); rc_style = gtk_rc_style_new (); gtk_widget_modify_style (GTK_WIDGET (adata->menubar), rc_style); - gtk_rc_style_unref (rc_style); + g_object_unref (rc_style); switch (type) { case PANEL_NO_BACKGROUND: |