aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gtkglobals.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-08-17 07:56:44 +0000
committerGuy Harris <guy@alum.mit.edu>2000-08-17 07:56:44 +0000
commitda88c237c2ec702c76d73d96253c7223dcb51aa1 (patch)
treedcd6fcb7a365cce952394fe6a480ccee898e36dc /gtk/gtkglobals.h
parentec5366cedec69a3899bcf829be3a47e94708a6b5 (diff)
It was silly of me to require that "forget_scrolled_window()" be called
explicitly; the right thing to do was to have "remember_scrolled_window()" catch the "destroy" signal on the scrolled window widget, and have the handler for that signal forget the scrolled window. Doing that obviates the need to have creators of scrolled windows keep track of the windows they have and forget them when they're destroyed. The signal for a "the window manager has requested that this window go away" event is "delete_event", not "delete-event"; fix the "gtk_signal_connect()" calls that were using "delete-event". svn path=/trunk/; revision=2284
Diffstat (limited to 'gtk/gtkglobals.h')
-rw-r--r--gtk/gtkglobals.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkglobals.h b/gtk/gtkglobals.h
index 07b44d7d02..d553bd2b91 100644
--- a/gtk/gtkglobals.h
+++ b/gtk/gtkglobals.h
@@ -1,7 +1,7 @@
/* gtkglobals.h
* GTK-related Global defines, etc.
*
- * $Id: gtkglobals.h,v 1.9 2000/07/03 08:36:02 guy Exp $
+ * $Id: gtkglobals.h,v 1.10 2000/08/17 07:56:34 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -39,7 +39,6 @@ extern GtkStyle *item_style;
void set_scrollbar_placement_scrollw(GtkWidget *, int); /* 0=left, 1=right */
void set_scrollbar_placement_all(int); /* 1=right, 0=left */
void remember_scrolled_window(GtkWidget *);
-void forget_scrolled_window(GtkWidget *);
void set_plist_sel_browse(gboolean);
void set_ptree_sel_browse(GtkWidget *, gboolean);
void set_ptree_sel_browse_all(gboolean);