diff src/gtk/transfer.c @ 45:311e29c40ed6

2002-10-31 Brian Masney <masneyb@gftp.org> * src/gtk/*.[ch] - don't check for gtk+ version based on the minor version. May cause problems later on. * lib/protocols.c src/gtk/bookmarks.c src/gtk/misc-gtk.c - use UTF8 functions for user data when using glib 2.0
author masneyb
date Thu, 31 Oct 2002 23:55:17 +0000
parents 36e2868ce8b7
children e5f6054590b5
line wrap: on
line diff
--- a/src/gtk/transfer.c	Wed Oct 30 22:56:30 2002 +0000
+++ b/src/gtk/transfer.c	Thu Oct 31 23:55:17 2002 +0000
@@ -89,7 +89,7 @@
           while (wdata->request->stopable)
             {
               GDK_THREADS_LEAVE ();
-#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
+#if GTK_MAJOR_VERSION == 1
               g_main_iteration (TRUE);
 #else
               g_main_context_iteration (NULL, TRUE);
@@ -258,7 +258,7 @@
           while (request->stopable)
             {
               GDK_THREADS_LEAVE ();
-#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
+#if GTK_MAJOR_VERSION == 1
               g_main_iteration (TRUE);
 #else
               g_main_context_iteration (NULL, TRUE);
@@ -285,7 +285,7 @@
       while (request->stopable)
         {
           GDK_THREADS_LEAVE ();
-#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
+#if GTK_MAJOR_VERSION == 1
           g_main_iteration (TRUE);
 #else
           g_main_context_iteration (NULL, TRUE);
@@ -450,7 +450,7 @@
           while (transfer->fromreq->stopable)
             {
               GDK_THREADS_LEAVE ();
-#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
+#if GTK_MAJOR_VERSION == 1
               g_main_iteration (TRUE);
 #else
               g_main_context_iteration (NULL, TRUE);
@@ -1646,7 +1646,7 @@
   tdata->clist = gtk_clist_new_with_titles (4, dltitles);
   gtk_container_add (GTK_CONTAINER (scroll), tdata->clist);
 
-#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2
+#if GTK_MAJOR_VERSION == 1
   gtk_clist_set_selection_mode (GTK_CLIST (tdata->clist),
 				GTK_SELECTION_EXTENDED);
 #else