summaryrefslogtreecommitdiff
path: root/client/gtk.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2011-10-14 23:58:01 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2011-10-14 23:58:01 +0200
commite922d0e0f71466de31668c67227bfeebdbd6f867 (patch)
treee762950f5d57a5ed41c9ff7ab208672bd9003195 /client/gtk.c
parent681c8c4dcbc00720b577d80aa717a316744f32f7 (diff)
downloadfribid-e922d0e0f71466de31668c67227bfeebdbd6f867.tar.gz
fribid-e922d0e0f71466de31668c67227bfeebdbd6f867.tar.bz2
fribid-e922d0e0f71466de31668c67227bfeebdbd6f867.zip
Remove cast to GtkVBox, which is deprecated in Gtk 3.2+
Diffstat (limited to 'client/gtk.c')
-rw-r--r--client/gtk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/gtk.c b/client/gtk.c
index d003fa6..845ea84 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -271,7 +271,7 @@ void platform_startSign(const char *url, const char *hostname, const char *ip,
GtkBuilder *builder = gtk_builder_new();
GError *error = NULL;
- GtkVBox *vbox;
+ GtkBox *box;
GtkContainer *content_area;
if (!gtk_builder_add_from_file(builder, UI_GTK_XML, &error)) {
@@ -320,8 +320,8 @@ void platform_startSign(const char *url, const char *hostname, const char *ip,
gtk_container_add(GTK_CONTAINER(content_area), GTK_WIDGET (info_label));
gtk_widget_show(GTK_WIDGET(info_label));
- vbox = GTK_VBOX(gtk_builder_get_object(builder, "vbox1"));
- gtk_box_pack_end(GTK_BOX(vbox), GTK_WIDGET (info_bar), TRUE, FALSE, 2);
+ box = GTK_BOX(gtk_builder_get_object(builder, "vbox1"));
+ gtk_box_pack_end(box, GTK_WIDGET (info_bar), TRUE, FALSE, 2);
activeDialog = signDialog = GTK_DIALOG(gtk_builder_get_object(builder, "dialog_sign"));