tAccelerators now use Alt/Meta in some dialogs; try to avoid using GTK+2 with GLIB1 (or vice versa); workaround for different g_strsplit behaviour between GLIB1 and GLIB2. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 78b2b90dc836bccbb1697d5a764659a9aa7a799c
 (DIR) parent cff8db0bd72bb8724b47cd6b0c0a10637ee35321
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Mon, 25 Mar 2002 16:51:29 +0000
       
       Accelerators now use Alt/Meta in some dialogs; try to avoid using GTK+2
       with GLIB1 (or vice versa); workaround for different g_strsplit behaviour
       between GLIB1 and GLIB2.
       
       
       Diffstat:
         M src/gtkport/gtkport.h               |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/src/gtkport/gtkport.h b/src/gtkport/gtkport.h
       t@@ -744,7 +744,7 @@ void gtk_container_set_size(GtkWidget *widget, GtkAllocation *allocation);
        #define MB_MAX    4
        #define MB_YESNO  (MB_YES|MB_NO)
        
       -#ifdef HAVE_GTK2
       +#ifdef HAVE_GLIB2
        #define IDOK      GTK_RESPONSE_OK
        #define IDCANCEL  GTK_RESPONSE_CANCEL
        #define IDYES     GTK_RESPONSE_YES
       t@@ -759,7 +759,7 @@ void gtk_container_set_size(GtkWidget *widget, GtkAllocation *allocation);
        /* Other flags */
        #define MB_IMMRETURN 16
        
       -#ifndef HAVE_GTK2
       +#ifndef HAVE_GLIB2
        #define GTK_STOCK_OK     _("OK")
        #define GTK_STOCK_CLOSE  _("Close")
        #define GTK_STOCK_CANCEL _("Cancel")
       t@@ -784,7 +784,7 @@ GtkWidget *gtk_scrolled_clist_new_with_titles(gint columns,
                                                      GtkWidget **pack_widg);
        guint SetAccelerator(GtkWidget *labelparent, gchar *Text,
                             GtkWidget *sendto, gchar *signal,
       -                     GtkAccelGroup *accel_group);
       +                     GtkAccelGroup *accel_group, gboolean needalt);
        GtkWidget *gtk_scrolled_text_new(GtkAdjustment *hadj, GtkAdjustment *vadj,
                                         GtkWidget **pack_widg);
        GtkWidget *gtk_url_new(const gchar *text, const gchar *target,