[shotwell] Compile under Vala 0.26 and earlier



commit cf38e25847b237fb2d4db072dc90fc4bf8b3cd35
Author: Jim Nelson <jim yorba org>
Date:   Wed Jan 7 11:20:45 2015 -0800

    Compile under Vala 0.26 and earlier
    
    Default argument not present in Vala 0.24/0.26 bindings.

 src/searches/SavedSearchDialog.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/searches/SavedSearchDialog.vala b/src/searches/SavedSearchDialog.vala
index 95f6345..124841f 100644
--- a/src/searches/SavedSearchDialog.vala
+++ b/src/searches/SavedSearchDialog.vala
@@ -48,7 +48,7 @@ public class SavedSearchDialog {
             set_type_combo_box(SearchCondition.SearchType.ANY_TEXT); // Sets default.
             type_combo.changed.connect(on_type_changed);
             
-            remove_button = new Gtk.Button.from_icon_name("list-remove-symbolic");
+            remove_button = new Gtk.Button.from_icon_name("list-remove-symbolic", Gtk.IconSize.BUTTON);
             remove_button.button_press_event.connect(on_removed);
             
             align = new Gtk.Alignment(0,0,0,0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]