[glade/modern-ui: 25/34] GladeDesignView, GladePlaceholder: use gtk_popover_popup() instead of gtk_widget_show()
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/modern-ui: 25/34] GladeDesignView, GladePlaceholder: use gtk_popover_popup() instead of gtk_widget_show()
- Date: Sat, 30 Dec 2017 17:14:43 +0000 (UTC)
commit d59478d15341c5ac47d8278f54e78e051ecc9794
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Fri Jun 30 23:49:41 2017 -0300
GladeDesignView,GladePlaceholder: use gtk_popover_popup() instead of gtk_widget_show()
gladeui/glade-design-view.c | 2 +-
gladeui/glade-placeholder.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gladeui/glade-design-view.c b/gladeui/glade-design-view.c
index fcd0035..61b731d 100644
--- a/gladeui/glade-design-view.c
+++ b/gladeui/glade-design-view.c
@@ -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;
}
diff --git a/gladeui/glade-placeholder.c b/gladeui/glade-placeholder.c
index e400190..a26fc15 100644
--- a/gladeui/glade-placeholder.c
+++ b/gladeui/glade-placeholder.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]