Commit ad6a316e authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Fix syntax error introduced with earlier commit) (pointed out by Ollie

Mon Feb  5 22:05:57 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
	error introduced with earlier commit) (pointed out by
	Ollie Lho)
parent 5975d4b2
Mon Feb 5 22:05:57 2001 Owen Taylor <otaylor@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
error introduced with earlier commit) (pointed out by
Ollie Lho)
Mon Feb 5 12:25:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove,
which are no longer necessary.
Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: s/MISK/MISC/
......
Mon Feb 5 22:05:57 2001 Owen Taylor <otaylor@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
error introduced with earlier commit) (pointed out by
Ollie Lho)
Mon Feb 5 12:25:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove,
which are no longer necessary.
Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: s/MISK/MISC/
......
Mon Feb 5 22:05:57 2001 Owen Taylor <otaylor@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
error introduced with earlier commit) (pointed out by
Ollie Lho)
Mon Feb 5 12:25:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove,
which are no longer necessary.
Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: s/MISK/MISC/
......
Mon Feb 5 22:05:57 2001 Owen Taylor <otaylor@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
error introduced with earlier commit) (pointed out by
Ollie Lho)
Mon Feb 5 12:25:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove,
which are no longer necessary.
Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: s/MISK/MISC/
......
Mon Feb 5 22:05:57 2001 Owen Taylor <otaylor@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
error introduced with earlier commit) (pointed out by
Ollie Lho)
Mon Feb 5 12:25:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove,
which are no longer necessary.
Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: s/MISK/MISC/
......
Mon Feb 5 22:05:57 2001 Owen Taylor <otaylor@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
error introduced with earlier commit) (pointed out by
Ollie Lho)
Mon Feb 5 12:25:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove,
which are no longer necessary.
Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: s/MISK/MISC/
......
Mon Feb 5 22:05:57 2001 Owen Taylor <otaylor@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Fix syntax
error introduced with earlier commit) (pointed out by
Ollie Lho)
Mon Feb 5 12:25:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Remove calls to gtk_grab_add/gtk_grab_remove,
which are no longer necessary.
Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: s/MISK/MISC/
......
......@@ -166,7 +166,6 @@ _gdk_fb_get_image (GdkDrawable *drawable,
{
GdkImage *image;
GdkImagePrivateFB *private;
gint bits_per_pixel =
GdkPixmapFBData fbd;
g_return_val_if_fail (drawable != NULL, NULL);
......
......@@ -746,10 +746,7 @@ gtk_button_button_press (GtkWidget *widget,
gtk_widget_grab_focus (widget);
if (event->button == 1)
{
gtk_grab_add (GTK_WIDGET (button));
gtk_button_pressed (button);
}
gtk_button_pressed (button);
}
return TRUE;
......@@ -768,7 +765,6 @@ gtk_button_button_release (GtkWidget *widget,
if (event->button == 1)
{
button = GTK_BUTTON (widget);
gtk_grab_remove (GTK_WIDGET (button));
gtk_button_released (button);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment