[ghex] Replace deprecated GTK+ symbols
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] Replace deprecated GTK+ symbols
- Date: Fri, 5 Mar 2010 09:18:22 +0000 (UTC)
commit ff850848e547ad3cd61a1f9a0204783bc2ea78fe
Author: Andre Klapper <a9016009 gmx de>
Date: Fri Mar 5 10:18:03 2010 +0100
Replace deprecated GTK+ symbols
src/hex-document.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/hex-document.c b/src/hex-document.c
index f4faea0..3708623 100644
--- a/src/hex-document.c
+++ b/src/hex-document.c
@@ -267,7 +267,7 @@ hex_document_add_view(HexDocument *doc)
gtk_fixed_set_has_window (GTK_FIXED(new_view), TRUE);
#endif
- gtk_widget_ref(new_view);
+ g_object_ref(new_view);
doc->views = g_list_append(doc->views, new_view);
@@ -282,7 +282,7 @@ hex_document_remove_view(HexDocument *doc, GtkWidget *view)
doc->views = g_list_remove(doc->views, view);
- gtk_widget_unref(view);
+ g_object_unref(view);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]