Commit d59478d1 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte

GladeDesignView,GladePlaceholder: use gtk_popover_popup() instead of gtk_widget_show()

parent 58fe1518
......@@ -362,7 +362,7 @@ glade_design_view_viewport_button_press (GtkWidget *widget,
gtk_container_add (GTK_CONTAINER (pop), chooser);
gtk_widget_show (chooser);
gtk_widget_show (pop);
gtk_popover_popup (GTK_POPOVER (pop));
return TRUE;
}
......
......@@ -468,7 +468,7 @@ glade_placeholder_button_press (GtkWidget *widget, GdkEventButton *event)
event->x, event->y,
&rect.x, &rect.y);
gtk_popover_set_pointing_to (GTK_POPOVER (pop), &rect);
gtk_widget_show (pop);
gtk_popover_popup (GTK_POPOVER (pop));
handled = TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment