Changeset 2422


Ignore:
Timestamp:
Jul 19, 2007, 3:36:29 AM (15 years ago)
Author:
charles
Message:

on second glance, there are even more issues that keep us from working w/2.4. still, 2.6 was released in 2004, so it's not like we're on the bleeding edge here.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2421 r2422  
    66AM_MAINTAINER_MODE
    77
    8 GLIB_MINIMUM=2.4.0
    9 GTK_MINIMUM=2.4.0
     8GLIB_MINIMUM=2.6.0
     9GTK_MINIMUM=2.6.0
    1010WX_MINIMUM=2.6.0
    1111AC_SUBST(GLIB_MINIMUM)
  • trunk/gtk/actions.c

    r2420 r2422  
    2121#define UNUSED
    2222#endif
    23 
    24 #if !GTK_CHECK_VERSION(2,6,0)
    25 #define GTK_STOCK_ABOUT NULL
    26 #endif
    27 
    28 
    2923
    3024extern void doAction (const char * action_name, gpointer user_data );
  • trunk/gtk/hig.c

    r2149 r2422  
    164164                             const char       * secondary)
    165165{
    166 #if GTK_CHECK_VERSION(2,6,0)
    167166  gtk_message_dialog_set_markup (dialog, primary);
    168167  gtk_message_dialog_format_secondary_text (dialog, "%s", secondary);
    169 #else
    170   char * pch = g_strdup_printf ("<b>%s</b>\n \n%s", primary, secondary);
    171   gtk_message_dialog_set_markup (dialog, pch);
    172   g_free (pch);
    173 #endif
    174168}
  • trunk/gtk/main.c

    r2420 r2422  
    889889about ( void )
    890890{
    891 #if GTK_CHECK_VERSION(2,6,0)
    892 
    893891  GtkWidget * w = gtk_about_dialog_new ();
    894892  GtkAboutDialog * a = GTK_ABOUT_DIALOG (w);
     
    910908  g_signal_connect_swapped (w, "response", G_CALLBACK (gtk_widget_destroy), w);
    911909  gtk_widget_show_all (w);
    912 
    913 #else
    914 
    915   GtkWidget * w = gtk_message_dialog_new_with_markup(
    916     NULL,
    917     GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
    918     GTK_MESSAGE_INFO,
    919     GTK_BUTTONS_CLOSE,
    920     "<b>%s %s</b>\n\n%s\n%s",
    921     g_get_application_name(), LONG_VERSION_STRING,
    922     "http://transmission.m0k.org/",
    923     _("Copyright 2005-2007 The Transmission Project"));
    924   g_signal_connect_swapped (w, "response",
    925                             G_CALLBACK (gtk_widget_destroy), w);
    926   gtk_widget_show_all( w );
    927 
    928 #endif
    929910}
    930911
  • trunk/gtk/torrent-inspector.c

    r2420 r2422  
    3939
    4040#define UPDATE_INTERVAL_MSEC 1500
    41 
    42 #if !GTK_CHECK_VERSION(2,6,0)
    43 #define GTK_STOCK_FILE NULL
    44 #define GTK_STOCK_DIRECTORY NULL
    45 #endif
    4641
    4742/****
Note: See TracChangeset for help on using the changeset viewer.