changeset 36022:bf5690e00dc6

Cosmetic: Relocate gtkSelectInCList().
author ib
date Sun, 31 Mar 2013 17:41:18 +0000
parents bc1d68f48ca5
children a04e8798227b
files gui/dialog/dialog.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/dialog.c	Sun Mar 31 17:38:13 2013 +0000
+++ b/gui/dialog/dialog.c	Sun Mar 31 17:41:18 2013 +0000
@@ -203,14 +203,6 @@
     return -1;
 }
 
-static void gtkSelectInCList(GtkWidget *list, char *item)
-{
-    gint i;
-
-    if ((i = gtkFindCList(list, item)) > -1)
-        gtk_clist_select_row(GTK_CLIST(list), i, 0);
-}
-
 void gtkEventHandling(void)
 {
     int i;
@@ -285,6 +277,14 @@
     wsWindowRaiseTop(gdk_display, GDK_WINDOW_XWINDOW(window->window));
 }
 
+static void gtkSelectInCList(GtkWidget *list, char *item)
+{
+    gint i;
+
+    if ((i = gtkFindCList(list, item)) > -1)
+        gtk_clist_select_row(GTK_CLIST(list), i, 0);
+}
+
 void gtkShow(int type, char *param)
 {
     switch (type) {