mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Removed bogus expose_event handler - we had two expose_event handlers!
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus expose_event handler - we had two expose_event handlers!
This commit is contained in:
parent
238ede333f
commit
6edbb34d54
@ -1,3 +1,9 @@
|
||||
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
|
||||
expose_event handler - we had two expose_event
|
||||
handlers!
|
||||
|
||||
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
|
||||
expose_event handler - we had two expose_event
|
||||
handlers!
|
||||
|
||||
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
|
||||
expose_event handler - we had two expose_event
|
||||
handlers!
|
||||
|
||||
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
|
||||
expose_event handler - we had two expose_event
|
||||
handlers!
|
||||
|
||||
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
|
||||
expose_event handler - we had two expose_event
|
||||
handlers!
|
||||
|
||||
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
|
||||
expose_event handler - we had two expose_event
|
||||
handlers!
|
||||
|
||||
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
|
||||
expose_event handler - we had two expose_event
|
||||
handlers!
|
||||
|
||||
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -62,8 +62,6 @@ static void gtk_window_size_request (GtkWidget *widget,
|
||||
GtkRequisition *requisition);
|
||||
static void gtk_window_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation);
|
||||
static gint gtk_window_expose_event (GtkWidget *widget,
|
||||
GdkEventExpose *event);
|
||||
static gint gtk_window_configure_event (GtkWidget *widget,
|
||||
GdkEventConfigure *event);
|
||||
static gint gtk_window_key_press_event (GtkWidget *widget,
|
||||
@ -171,7 +169,6 @@ gtk_window_class_init (GtkWindowClass *klass)
|
||||
widget_class->realize = gtk_window_realize;
|
||||
widget_class->size_request = gtk_window_size_request;
|
||||
widget_class->size_allocate = gtk_window_size_allocate;
|
||||
widget_class->expose_event = gtk_window_expose_event;
|
||||
widget_class->configure_event = gtk_window_configure_event;
|
||||
widget_class->key_press_event = gtk_window_key_press_event;
|
||||
widget_class->key_release_event = gtk_window_key_release_event;
|
||||
@ -732,21 +729,6 @@ gtk_window_size_allocate (GtkWidget *widget,
|
||||
}
|
||||
}
|
||||
|
||||
static gint
|
||||
gtk_window_expose_event (GtkWidget *widget,
|
||||
GdkEventExpose *event)
|
||||
{
|
||||
g_return_val_if_fail (widget != NULL, FALSE);
|
||||
g_return_val_if_fail (GTK_IS_WINDOW (widget), FALSE);
|
||||
g_return_val_if_fail (event != NULL, FALSE);
|
||||
|
||||
if (GTK_WIDGET_DRAWABLE (widget))
|
||||
if (GTK_WIDGET_CLASS (parent_class)->expose_event)
|
||||
return (* GTK_WIDGET_CLASS (parent_class)->expose_event) (widget, event);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static gint
|
||||
gtk_window_configure_event (GtkWidget *widget,
|
||||
GdkEventConfigure *event)
|
||||
|
Loading…
Reference in New Issue
Block a user