[notification-daemon] Remove some deprecated GTK+ symbols
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [notification-daemon] Remove some deprecated GTK+ symbols
- Date: Tue, 12 Jan 2010 15:28:49 +0000 (UTC)
commit afcd193b2d788b9257e6413c5d930977e6ec4b4c
Author: Javier Jardón <jjardon gnome org>
Date: Tue Jan 12 16:26:18 2010 +0100
Remove some deprecated GTK+ symbols
Substitute gdk_pixbuf_unref() and gtk_rc_style_unref() with
g_object_unref()
src/themes/bubble/eggnotificationbubblewidget.c | 2 +-
src/themes/standard/theme.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/themes/bubble/eggnotificationbubblewidget.c b/src/themes/bubble/eggnotificationbubblewidget.c
index 50e94f5..39fb09a 100644
--- a/src/themes/bubble/eggnotificationbubblewidget.c
+++ b/src/themes/bubble/eggnotificationbubblewidget.c
@@ -550,7 +550,7 @@ egg_notification_bubble_widget_set_icon_from_data (EggNotificationBubbleWidget *
NULL);
gtk_image_set_from_pixbuf (GTK_IMAGE (bubble_widget->icon), pixbuf);
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
}
static void
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c
index 34d9234..52bf86d 100644
--- a/src/themes/standard/theme.c
+++ b/src/themes/standard/theme.c
@@ -699,7 +699,7 @@ create_notification(UrlClickedCb url_clicked)
rcstyle = gtk_rc_style_new();
rcstyle->xthickness = rcstyle->ythickness = 0;
gtk_widget_modify_style(close_button, rcstyle);
- gtk_rc_style_unref(rcstyle);
+ g_object_unref(rcstyle);
atkobj = gtk_widget_get_accessible(close_button);
atk_action_set_description(ATK_ACTION(atkobj), 0,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]