changeset 82359:25c5bc8d8b8e

(update_frame_tool_bar): Use -1 as index to gtk_toolbar_insert.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 13 Aug 2007 06:29:41 +0000
parents 386452a14fe0
children cb141f698420
files src/gtkutil.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutil.c	Mon Aug 13 05:35:43 2007 +0000
+++ b/src/gtkutil.c	Mon Aug 13 06:29:41 2007 +0000
@@ -3802,7 +3802,7 @@
               gtk_container_add (GTK_CONTAINER (weventbox), wbutton);
               ti = gtk_tool_item_new ();
               gtk_container_add (GTK_CONTAINER (ti), weventbox);
-              gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, i);
+              gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, -1);
             }
           continue;
         }
@@ -3819,7 +3819,7 @@
           gtk_container_add (GTK_CONTAINER (weventbox), wbutton);
           ti = gtk_tool_item_new ();
           gtk_container_add (GTK_CONTAINER (ti), weventbox);
-          gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, i);
+          gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, -1);
 
 
           /* The EMACS_INT cast avoids a warning. */