[glade/modern-ui: 25/31] 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/31] GladeDesignView, GladePlaceholder: use gtk_popover_popup() instead of gtk_widget_show()
- Date: Thu, 13 Jul 2017 00:41:15 +0000 (UTC)
commit 25a966a5980943277d1d8a63dbf6f604f863e8aa
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]