[MPlayer-cvslog] r36116 - trunk/gui/dialog/dialog.c

ib subversion at mplayerhq.hu
Sun Mar 31 19:41:18 CEST 2013


Author: ib
Date: Sun Mar 31 19:41:18 2013
New Revision: 36116

Log:
Cosmetic: Relocate gtkSelectInCList().

Modified:
   trunk/gui/dialog/dialog.c

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Sun Mar 31 19:38:13 2013	(r36115)
+++ trunk/gui/dialog/dialog.c	Sun Mar 31 19:41:18 2013	(r36116)
@@ -203,14 +203,6 @@ int gtkFindCList(GtkWidget *list, char *
     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 @@ void gtkRaise(GtkWidget *window)
     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) {


More information about the MPlayer-cvslog mailing list