Trying to get buildbot Windows-XP-x86 to build again.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 20 Jan 2007 14:08:05 +0000 (14:08 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 20 Jan 2007 14:08:05 +0000 (14:08 +0000)
Reverting GTK2 to GTK1.2 functionname

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20508 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/dlg_utils.c

index e79541caaf47d468c13200d3b373911c2663bc8a..2107ac8058e3a241f20712d07ffbc212cc93846b 100644 (file)
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
-#if 0
-#include <epan/filesystem.h>
-#endif
-
-#if 0
-#include "globals.h"
-#endif
-
 #include "gtkglobals.h"
 #include "gui_utils.h"
 #include "dlg_utils.h"
 #include "compat_macros.h"
-#if 0
-#include "main.h"
-#endif
 
 #include <string.h>
-#if 0
-#include <stdio.h>
-#endif
 #include <stdarg.h>
 
 static void
@@ -83,7 +69,7 @@ dlg_button_focus_nth(GtkWidget *hbox, gint focus_item) {
        return;
 
     button_hbox = OBJECT_GET_DATA(hbox, BUTTON_HBOX_KEY);
-    children = gtk_container_get_children(GTK_CONTAINER(button_hbox));
+    children = gtk_container_children(GTK_CONTAINER(button_hbox));
 
     while (children) {
        if (cur_item == focus_item) {