Guard pixbuf in location action that is not used with Hildon
This commit is contained in:
parent
f5489973f5
commit
41583dc940
1 changed files with 3 additions and 1 deletions
|
@ -1087,8 +1087,10 @@ midori_location_action_entry_changed_cb (GtkComboBox* combo_box,
|
||||||
if ((entry = GTK_ICON_ENTRY (gtk_bin_get_child (GTK_BIN (combo_box)))))
|
if ((entry = GTK_ICON_ENTRY (gtk_bin_get_child (GTK_BIN (combo_box)))))
|
||||||
{
|
{
|
||||||
GtkTreeModel* model;
|
GtkTreeModel* model;
|
||||||
GdkPixbuf* pixbuf;
|
|
||||||
gchar* uri;
|
gchar* uri;
|
||||||
|
#if !HAVE_HILDON
|
||||||
|
GdkPixbuf* pixbuf;
|
||||||
|
#endif
|
||||||
|
|
||||||
model = gtk_combo_box_get_model (combo_box);
|
model = gtk_combo_box_get_model (combo_box);
|
||||||
gtk_tree_model_get (model, &iter, URI_COL, &uri, -1);
|
gtk_tree_model_get (model, &iter, URI_COL, &uri, -1);
|
||||||
|
|
Loading…
Reference in a new issue