From: Havoc Pennington Date: Fri, 8 Feb 2002 02:38:44 +0000 (+0000) Subject: add change_value virtual function, to fix build X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=b0c6f4f27b4ae5c4750ec241568aa280ed161f7e;p=~andy%2Fgtk add change_value virtual function, to fix build 2002-02-07 Havoc Pennington * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add change_value virtual function, to fix build * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was from GtkWidget not GtkMisc. Not that it ever mattered. --- diff --git a/ChangeLog b/ChangeLog index a4ab659df..576e7364e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-02-07 Havoc Pennington + + * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add + change_value virtual function, to fix build + + * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was + from GtkWidget not GtkMisc. Not that it ever mattered. + Thu Feb 7 19:52:00 2002 Owen Taylor * gtk/gtknotebook.[ch]: Add ::move-focus-out signal diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index a4ab659df..576e7364e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,11 @@ +2002-02-07 Havoc Pennington + + * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add + change_value virtual function, to fix build + + * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was + from GtkWidget not GtkMisc. Not that it ever mattered. + Thu Feb 7 19:52:00 2002 Owen Taylor * gtk/gtknotebook.[ch]: Add ::move-focus-out signal diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a4ab659df..576e7364e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +2002-02-07 Havoc Pennington + + * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add + change_value virtual function, to fix build + + * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was + from GtkWidget not GtkMisc. Not that it ever mattered. + Thu Feb 7 19:52:00 2002 Owen Taylor * gtk/gtknotebook.[ch]: Add ::move-focus-out signal diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index a4ab659df..576e7364e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,11 @@ +2002-02-07 Havoc Pennington + + * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add + change_value virtual function, to fix build + + * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was + from GtkWidget not GtkMisc. Not that it ever mattered. + Thu Feb 7 19:52:00 2002 Owen Taylor * gtk/gtknotebook.[ch]: Add ::move-focus-out signal diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a4ab659df..576e7364e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,11 @@ +2002-02-07 Havoc Pennington + + * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add + change_value virtual function, to fix build + + * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was + from GtkWidget not GtkMisc. Not that it ever mattered. + Thu Feb 7 19:52:00 2002 Owen Taylor * gtk/gtknotebook.[ch]: Add ::move-focus-out signal diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a4ab659df..576e7364e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,11 @@ +2002-02-07 Havoc Pennington + + * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add + change_value virtual function, to fix build + + * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was + from GtkWidget not GtkMisc. Not that it ever mattered. + Thu Feb 7 19:52:00 2002 Owen Taylor * gtk/gtknotebook.[ch]: Add ::move-focus-out signal diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a4ab659df..576e7364e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,11 @@ +2002-02-07 Havoc Pennington + + * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add + change_value virtual function, to fix build + + * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was + from GtkWidget not GtkMisc. Not that it ever mattered. + Thu Feb 7 19:52:00 2002 Owen Taylor * gtk/gtknotebook.[ch]: Add ::move-focus-out signal diff --git a/docs/reference/gtk/tmpl/gtksettings.sgml b/docs/reference/gtk/tmpl/gtksettings.sgml index f0928cfbb..6c557f0a2 100644 --- a/docs/reference/gtk/tmpl/gtksettings.sgml +++ b/docs/reference/gtk/tmpl/gtksettings.sgml @@ -206,6 +206,16 @@ GtkSettings + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtksignal.sgml b/docs/reference/gtk/tmpl/gtksignal.sgml index ec510317d..06c1edad2 100644 --- a/docs/reference/gtk/tmpl/gtksignal.sgml +++ b/docs/reference/gtk/tmpl/gtksignal.sgml @@ -602,13 +602,13 @@ with an integer masquerading as a pointer (through GINT_TO_POINTER()).) @object: the object that emits the signal. -@signal: +@name: name of the signal. @func: function pointer to attach to the signal. @func_data: pointer to pass to func. @alive_object: object whose death should cause the handler connection to be destroyed. -@name: name of the signal. +@signal: @@ -628,12 +628,12 @@ clean up the handler. @object: the object associated with the signal. -@signal: +@name: name of the signal. @func: function pointer to attach to the signal. @alive_object: the user data, which must be an object, whose destruction should signal the removal of this signal. -@name: name of the signal. +@signal: diff --git a/docs/reference/gtk/tmpl/gtkwidget.sgml b/docs/reference/gtk/tmpl/gtkwidget.sgml index 1a4d8b09b..69ced7b70 100644 --- a/docs/reference/gtk/tmpl/gtkwidget.sgml +++ b/docs/reference/gtk/tmpl/gtkwidget.sgml @@ -1845,6 +1845,7 @@ a widget changes from un-anchored to anchored or vice-versa. @widget: the object which received the signal. +@Returns: @@ -1949,6 +1950,7 @@ a widget changes from un-anchored to anchored or vice-versa. @widget: the object which received the signal. @arg1: +@Returns: diff --git a/gtk/gtkpixmap.c b/gtk/gtkpixmap.c index d887e082e..e37ae0bad 100644 --- a/gtk/gtkpixmap.c +++ b/gtk/gtkpixmap.c @@ -75,7 +75,7 @@ gtk_pixmap_class_init (GtkPixmapClass *class) object_class = (GtkObjectClass*) class; widget_class = (GtkWidgetClass*) class; - parent_class = gtk_type_class (gtk_widget_get_type ()); + parent_class = gtk_type_class (gtk_misc_get_type ()); gobject_class->finalize = gtk_pixmap_finalize; diff --git a/gtk/gtkspinbutton.h b/gtk/gtkspinbutton.h index 04610cb45..0e2a104ba 100644 --- a/gtk/gtkspinbutton.h +++ b/gtk/gtkspinbutton.h @@ -107,6 +107,10 @@ struct _GtkSpinButtonClass gdouble *new_value); gint (*output) (GtkSpinButton *spin_button); void (*value_changed) (GtkSpinButton *spin_button); + + void (*change_value) (GtkSpinButton *spin, + GtkScrollType scroll); + };