summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1999-02-15 21:05:51 +0000
committerOwen Taylor <otaylor@src.gnome.org>1999-02-15 21:05:51 +0000
commit0c9af82e9713256d8764c0d72ee4718b44993193 (patch)
tree123061133bd9dcddc987451c182158d755c94013 /gtk/gtkwidget.h
parent063bad00a2fb7cb4430c35a98ab83c8c1dc80569 (diff)
downloadgtk+-0c9af82e9713256d8764c0d72ee4718b44993193.tar.gz
When we find a match, stop searching. (Because we assume pspec != NULL in
Thu Feb 11 18:43:12 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkbindings.c (gtk_binding_set_add_path): When we find a match, stop searching. (Because we assume pspec != NULL in the search). Wed Feb 10 01:18:22 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkhandlebox.c (gtk_handle_box_draw_ghost): Fix up painting of "ghosts". * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Add double-click reattachment. * gtk/gtkhandlebox.c: Grab on widget->window, not on handlebox->bin_window. This means we don't have to worry about ungrabbing while reparenting. Don't make a GTK+ grab - that wasn't necessary. * gtk/gtkhandlebox.c: Only compute the root -> desk offset once, when starting the drag, instead of continuously. This should solve the *Bad Window* errors that were occurring because of race conditions with the WM. * gtk/gtkhandlebox.c: Completely reworked the the logic of reattachment. We introduce the concept of the "snap edge", which is an edge that needs to be aligned for reattachmed. We set a reasonable default from handlebox->handle_position, but an application might want to change this in some circumstances. * gtk/gtkhandlebox.[ch]: Add settors: gtk_handle_box_set_handle_position (); gtk_handle_box_set_snap_edge ();
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index c547895223..ed04845cfe 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -456,8 +456,8 @@ void gtk_widget_size_request (GtkWidget *widget,
GtkRequisition *requisition);
void gtk_widget_size_allocate (GtkWidget *widget,
GtkAllocation *allocation);
-void gtk_widget_get_child_requisition (GtkWidget *widget,
- GtkRequisition *requisition);
+void gtk_widget_get_child_requisition (GtkWidget *widget,
+ GtkRequisition *requisition);
void gtk_widget_add_accelerator (GtkWidget *widget,
const gchar *accel_signal,
GtkAccelGroup *accel_group,