Use find_property for has-separator in History List
So we can avoid compile-time warnings.
This commit is contained in:
parent
ee85789fc4
commit
8f421d6cfc
1 changed files with 2 additions and 3 deletions
|
@ -233,9 +233,8 @@ namespace HistoryList {
|
|||
this.hl_manager = manager;
|
||||
|
||||
this.title = _("Preferences for %s").printf( _("History-List"));
|
||||
#if !HAVE_GTK3
|
||||
this.has_separator = false;
|
||||
#endif
|
||||
if (this.get_class ().find_property ("has-separator") != null)
|
||||
this.set ("has-separator", false);
|
||||
this.border_width = 5;
|
||||
this.set_modal (true);
|
||||
this.set_default_size (350, 100);
|
||||
|
|
Loading…
Reference in a new issue