diff options
author | Tim Janik <timj@gtk.org> | 1998-11-28 01:56:09 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-11-28 01:56:09 +0000 |
commit | 58af2b56bf681998479e347f2de9daf4ff73f726 (patch) | |
tree | ff7f9cbfc99d79fe335e0f28fe92b0165be41d08 /gtk/gtkinputdialog.c | |
parent | 36d80dc374b055205b566552ada7c4e0c45764ee (diff) | |
download | gtk+-58af2b56bf681998479e347f2de9daf4ff73f726.tar.gz |
deprecated gtk_widget_freeze_accelerators and
Sat Nov 28 00:06:49 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.h:
* gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
and gtk_widget_unlock_accelerators.
* gtk/gtklayout.h:
* gtk/gtklayout.c: implemented incremental freezing facility.
* gtk/gtktext.h:
* gtk/gtktext.c: implemented incremental freezing facility.
* gtk/gtkenums.h:
* gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.
* gtk/gtkentry.h:
* gtk/gtkentry.c:
deprecated gtk_entry_adjust_scroll().
* random GtkType, macro and indentation fixes.
Fri Nov 27 22:50:15 1998 Tim Janik <timj@gtk.org>
* gtk/gtkclist.h:
* gtk/gtkclist.c: implemented incremental freezing facility, added
a new class member (*refresh)() which takes over the thaw
functionality. the clist FROZEN flag got removed on the way.
* gtk/gtkctree.c: adaptions to feature the clist refresh functionality
and incremental freezing.
* gtk/gtkcalendar.c: implemented incremental freezing facility.
Diffstat (limited to 'gtk/gtkinputdialog.c')
-rw-r--r-- | gtk/gtkinputdialog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkinputdialog.c b/gtk/gtkinputdialog.c index d219668fce..66bc8e5a99 100644 --- a/gtk/gtkinputdialog.c +++ b/gtk/gtkinputdialog.c @@ -107,10 +107,10 @@ gtk_input_dialog_get_device_info(guint32 deviceid) return NULL; } -guint +GtkType gtk_input_dialog_get_type (void) { - static guint input_dialog_type = 0; + static GtkType input_dialog_type = 0; if (!input_dialog_type) { @@ -126,7 +126,7 @@ gtk_input_dialog_get_type (void) (GtkClassInitFunc) NULL, }; - input_dialog_type = gtk_type_unique (gtk_dialog_get_type (), + input_dialog_type = gtk_type_unique (GTK_TYPE_DIALOG, &input_dialog_info); } @@ -140,7 +140,7 @@ gtk_input_dialog_class_init (GtkInputDialogClass *klass) object_class = (GtkObjectClass*) klass; - parent_class = gtk_type_class (gtk_dialog_get_type ()); + parent_class = gtk_type_class (GTK_TYPE_DIALOG); input_dialog_signals[ENABLE_DEVICE] = gtk_signal_new ("enable_device", @@ -358,7 +358,7 @@ gtk_input_dialog_new (void) { GtkInputDialog *inputd; - inputd = gtk_type_new (gtk_input_dialog_get_type ()); + inputd = gtk_type_new (GTK_TYPE_INPUT_DIALOG); return GTK_WIDGET (inputd); } |