2010-05-22 08:29:04 -04:00
|
|
|
$OpenBSD: patch-src_project_c,v 1.2 2010/05/22 12:29:04 landry Exp $
|
|
|
|
--- src/project.c.orig Thu Oct 8 13:33:20 2009
|
|
|
|
+++ src/project.c Sat May 22 14:15:15 2010
|
|
|
|
@@ -1546,7 +1546,7 @@ static GtkWidget *wizard_create_intro_page(wizard_page
|
2010-05-22 07:31:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ---------------- page 2: source selection ----------------- */
|
|
|
|
-static gboolean gtk_widget_get_sensitive(GtkWidget *widget) {
|
|
|
|
+static gboolean widget_get_sensitive(GtkWidget *widget) {
|
|
|
|
GValue is_sensitive= { 0, };
|
|
|
|
g_value_init(&is_sensitive, G_TYPE_BOOLEAN);
|
|
|
|
g_object_get_property(G_OBJECT(widget), "sensitive", &is_sensitive);
|
2010-05-22 08:29:04 -04:00
|
|
|
@@ -1585,7 +1585,7 @@ static void wizard_update_source_selection_page(wizard
|
2010-05-22 07:31:04 -04:00
|
|
|
for(i=0;i<4;i++) {
|
|
|
|
if(gtk_toggle_button_get_active(
|
|
|
|
GTK_TOGGLE_BUTTON(page->state.source_selection.check[i])))
|
|
|
|
- sel_ok = gtk_widget_get_sensitive(page->state.source_selection.check[i]);
|
|
|
|
+ sel_ok = widget_get_sensitive(page->state.source_selection.check[i]);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* set page to "completed" if a valid entry is selected */
|