diff options
| author | Jan Djärv | 2011-09-07 19:25:24 +0200 |
|---|---|---|
| committer | Jan Djärv | 2011-09-07 19:25:24 +0200 |
| commit | 115b96bdb5e17c69bafabc82f43cfbfe3eecc115 (patch) | |
| tree | 99ebb552eea1a81ddf01eae0f4c38eba3d1214e0 /src/gtkutil.c | |
| parent | 4feb6e7359c345a00e1c8020be444fc6c2e22f1a (diff) | |
| download | emacs-115b96bdb5e17c69bafabc82f43cfbfe3eecc115.tar.gz emacs-115b96bdb5e17c69bafabc82f43cfbfe3eecc115.zip | |
(xg_make_tool_item): Insert comment about eventbox.
Diffstat (limited to 'src/gtkutil.c')
| -rw-r--r-- | src/gtkutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index c154797735e..04d05d2a630 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -4219,6 +4219,7 @@ xg_make_tool_item (FRAME_PTR f, | |||
| 4219 | GtkToolItem *ti = gtk_tool_item_new (); | 4219 | GtkToolItem *ti = gtk_tool_item_new (); |
| 4220 | GtkWidget *vb = horiz ? gtk_hbox_new (FALSE, 0) : gtk_vbox_new (FALSE, 0); | 4220 | GtkWidget *vb = horiz ? gtk_hbox_new (FALSE, 0) : gtk_vbox_new (FALSE, 0); |
| 4221 | GtkWidget *wb = gtk_button_new (); | 4221 | GtkWidget *wb = gtk_button_new (); |
| 4222 | /* The eventbox is here so we can have tooltips on disabled items. */ | ||
| 4222 | GtkWidget *weventbox = gtk_event_box_new (); | 4223 | GtkWidget *weventbox = gtk_event_box_new (); |
| 4223 | 4224 | ||
| 4224 | if (wimage && !text_image) | 4225 | if (wimage && !text_image) |