summaryrefslogtreecommitdiff
path: root/pidgin/plugins/themeedit-icon.c
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@pidgin.im>2014-02-11 02:19:31 +0100
committerTomasz Wasilczyk <twasilczyk@pidgin.im>2014-02-11 02:19:31 +0100
commite42bd113bebb56d427beaaef6df983627692b9fa (patch)
tree1b48cfe6ad7ff14c779feca84e5b38d058e9e6dd /pidgin/plugins/themeedit-icon.c
parent777f92c2cdb6930bda82aa1751cd7d002cc685bd (diff)
downloadpidgin-e42bd113bebb56d427beaaef6df983627692b9fa.tar.gz
Fix gtk_[hv]box_new gtk3 deprecation warnings
Diffstat (limited to 'pidgin/plugins/themeedit-icon.c')
-rw-r--r--pidgin/plugins/themeedit-icon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pidgin/plugins/themeedit-icon.c b/pidgin/plugins/themeedit-icon.c
index 9d54051614..0cb55b024f 100644
--- a/pidgin/plugins/themeedit-icon.c
+++ b/pidgin/plugins/themeedit-icon.c
@@ -25,6 +25,7 @@
#include "theme-manager.h"
+#include "gtk3compat.h"
#include "gtkblist.h"
#include "gtkblist-theme.h"
#include "gtkutils.h"
@@ -271,7 +272,7 @@ void pidgin_icon_theme_edit(PurplePluginAction *unused)
for (s = 0; sections[s].heading; s++) {
const char *heading = sections[s].heading;
- box = gtk_vbox_new(FALSE, 0);
+ box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
gtk_notebook_append_page(GTK_NOTEBOOK(notebook), box, gtk_label_new(heading));
vbox = pidgin_make_frame(box, heading);
@@ -281,7 +282,7 @@ void pidgin_icon_theme_edit(PurplePluginAction *unused)
const char *id = sections[s].options[i].stockid;
const char *text = _(sections[s].options[i].text);
- GtkWidget *hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_CAT_SPACE);
+ GtkWidget *hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, PIDGIN_HIG_CAT_SPACE);
GtkWidget *label = gtk_label_new(text);
GtkWidget *image = gtk_image_new_from_stock(id,
gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL));