[monkey-bubble: 11/753] Updates to make gnome work with the new Gtk+. You need the new Gtk+ to compile gnome



commit e655e1a038f359c4cba925f7a7fa63f99082642c
Author: Arturo Espinosa <unammx src gnome org>
Date:   Thu Dec 18 21:14:42 1997 +0000

    Updates to make gnome work with the new Gtk+.  You need the new Gtk+ to compile gnome

 libgnomeui/gnome-pixmap.c |    4 ++--
 libgnomeui/gtk-clock.h    |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libgnomeui/gnome-pixmap.c b/libgnomeui/gnome-pixmap.c
index 171fd6e..8db415f 100644
--- a/libgnomeui/gnome-pixmap.c
+++ b/libgnomeui/gnome-pixmap.c
@@ -23,8 +23,8 @@ destroy_hash_element (void *key, void *val, void *data)
 {
 	struct pixmap_item *pi = val;
 
-	gdk_pixmap_destroy (pi->pixmap);
-	gdk_pixmap_destroy (pi->mask);
+	gdk_pixmap_unref (pi->pixmap);
+	gdk_pixmap_unref (pi->mask);
 	g_free (val);
 	g_free (key);
 }
diff --git a/libgnomeui/gtk-clock.h b/libgnomeui/gtk-clock.h
index 9285d5e..f87954c 100644
--- a/libgnomeui/gtk-clock.h
+++ b/libgnomeui/gtk-clock.h
@@ -23,13 +23,12 @@ extern "C" {
 typedef struct _GtkClock GtkClock;
 typedef struct _GtkClockClass GtkClockClass;
 
-typedef enum _GtkClockType GtkClockType;
-
 enum _GtkClockType {
 	GTK_CLOCK_INCREASING,
 	GTK_CLOCK_DECREASING,
 	GTK_CLOCK_REALTIME
 };
+typedef enum _GtkClockType GtkClockType;
 
 struct _GtkClock {
 	GtkLabel widget;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]