2008-10-09 [colin] 3.6.0cvs19
[claws.git] / src / prefs_ext_prog.c
index 3d35a25e2d3cb5dd2e8ea7b1e91e727ed13c6cc8..cb093002b509a59dc1a4c12d2f18fd29a713dcad 100644 (file)
@@ -175,7 +175,7 @@ static void prefs_ext_prog_create_widget(PrefsPage *_page, GtkWindow *window,
        gtk_table_attach (GTK_TABLE (table2), uri_combo, 1, 2, i, i+1,
                          GTK_EXPAND | GTK_FILL, 0, 0, 0);
 
-       uri_entry = GTK_BIN (uri_combo)->child;
+       uri_entry = gtk_bin_get_child(GTK_BIN((uri_combo)));
        gtk_entry_set_text(GTK_ENTRY(uri_entry), prefs_common.uri_cmd ? prefs_common.uri_cmd : "");
        
        exteditor_label = gtk_label_new (_("Text editor"));
@@ -202,7 +202,7 @@ static void prefs_ext_prog_create_widget(PrefsPage *_page, GtkWindow *window,
        gtk_table_attach (GTK_TABLE (table2), exteditor_combo, 1, 2, i, i+1,
                          GTK_EXPAND | GTK_FILL, 0, 0, 0);
 
-       exteditor_entry = GTK_BIN (exteditor_combo)->child;
+       exteditor_entry = gtk_bin_get_child(GTK_BIN((exteditor_combo)));
        gtk_entry_set_text(GTK_ENTRY(exteditor_entry), 
                           prefs_common.ext_editor_cmd ? prefs_common.ext_editor_cmd : "");
 
@@ -230,7 +230,7 @@ static void prefs_ext_prog_create_widget(PrefsPage *_page, GtkWindow *window,
                           prefs_common.mime_textviewer ? prefs_common.mime_textviewer : "");
 
        printcmd_label = gtk_label_new (_("Print command"));
-#if !defined(USE_GNOMEPRINT) && !GTK_CHECK_VERSION(2,10,0)
+#if !GTK_CHECK_VERSION(2,10,0)
        gtk_widget_show(printcmd_label);
 #endif
        i++;
@@ -241,7 +241,7 @@ static void prefs_ext_prog_create_widget(PrefsPage *_page, GtkWindow *window,
        gtk_misc_set_alignment(GTK_MISC (printcmd_label), 1, 0.5);
 
        printcmd_entry = gtk_entry_new ();
-#if !defined(USE_GNOMEPRINT) && !GTK_CHECK_VERSION(2,10,0)
+#if !GTK_CHECK_VERSION(2,10,0)
        gtk_widget_show(printcmd_entry);
 #endif
        gtk_table_attach(GTK_TABLE (table2), printcmd_entry, 1, 2, i, i+1,