/pidgin/main: bf90510e8273: Fix typo in new alignment call.
Elliott Sales de Andrade <[email protected]> Tue, 06 Sep 2016 15:45:52 -0400
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: bf90510e82739fcbf1f3d04c0d42b62e945c2f3a Author: Elliott Sales de Andrade <[email protected]> Date: 2016-09-05 03:31 -0400 Branch: default URL: https://hg.pidgin.im/pidgin/main/rev/bf90510e8273 Description: Fix typo in new alignment call. diffstat: pidgin/plugins/screencap.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diffs (15 lines): diff --git a/pidgin/plugins/screencap.c b/pidgin/plugins/screencap.c --- a/pidgin/plugins/screencap.c +++ b/pidgin/plugins/screencap.c @@ -393,7 +393,10 @@ scrncap_draw_window(PidginWebView *webvi #if GTK_CHECK_VERSION(3,14,0) box = drawing_area; - g_object_set(drawing_area, "xalign", 0.5, "yalign", 0.5, NULL); + g_object_set(drawing_area, + "halign", GTK_ALIGN_CENTER, + "valign", GTK_ALIGN_CENTER, + NULL); #else box = gtk_alignment_new(0.5, 0.5, 0, 0); gtk_container_add(GTK_CONTAINER(box), drawing_area); _______________________________________________ Commits mailing list [email protected] https://pidgin.im/cgi-bin/mailman/listinfo/commits