[gnome-commander] Replaced obsoleted gtk_style_unref() with g_object_unref()
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Replaced obsoleted gtk_style_unref() with g_object_unref()
- Date: Sun, 8 Aug 2010 11:36:58 +0000 (UTC)
commit 432eec22b955ada26ca03ba199b1c29b6ab45cb5
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Aug 8 13:35:48 2010 +0200
Replaced obsoleted gtk_style_unref() with g_object_unref()
src/gnome-cmd-style.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-cmd-style.cc b/src/gnome-cmd-style.cc
index 76bbdc1..2697362 100644
--- a/src/gnome-cmd-style.cc
+++ b/src/gnome-cmd-style.cc
@@ -171,10 +171,10 @@ inline GtkStyle *create_alt_sel_list_style ()
void gnome_cmd_style_create ()
{
- if (list_style) gtk_style_unref (list_style);
- if (alt_list_style) gtk_style_unref (alt_list_style);
- if (sel_list_style) gtk_style_unref (sel_list_style);
- if (alt_sel_list_style) gtk_style_unref (alt_sel_list_style);
+ if (list_style) g_object_unref (list_style);
+ if (alt_list_style) g_object_unref (alt_list_style);
+ if (sel_list_style) g_object_unref (sel_list_style);
+ if (alt_sel_list_style) g_object_unref (alt_sel_list_style);
list_style = create_list_style ();
alt_list_style = create_alt_list_style ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]