diff options
author | monsta <[email protected]> | 2016-01-21 16:53:45 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-21 17:31:06 +0300 |
commit | 4743050b2e8cf99855ba5f88a4809376bb847be5 (patch) | |
tree | 97f4d5a7f8b4d5c1ae1fee634d306f03f4250850 /baobab/src/baobab-chart.c | |
parent | 2275a436e578255b37766ad09681074ea5722e8f (diff) | |
download | mate-utils-4743050b2e8cf99855ba5f88a4809376bb847be5.tar.bz2 mate-utils-4743050b2e8cf99855ba5f88a4809376bb847be5.tar.xz |
[GTK+3] fix deprecated usage of GtkMisc, GtkHBox, GtkVBox
Diffstat (limited to 'baobab/src/baobab-chart.c')
-rw-r--r-- | baobab/src/baobab-chart.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/baobab/src/baobab-chart.c b/baobab/src/baobab-chart.c index 8c36bfca..b52b4371 100644 --- a/baobab/src/baobab-chart.c +++ b/baobab/src/baobab-chart.c @@ -1786,11 +1786,19 @@ baobab_chart_save_snapshot (GtkWidget *chart) gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (fs_dlg), TRUE); /* extra widget */ +#if GTK_CHECK_VERSION (3, 0, 0) + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); +#else vbox = gtk_vbox_new (FALSE, 0); +#endif gtk_container_set_border_width (GTK_CONTAINER (vbox), 0); gtk_file_chooser_set_extra_widget (GTK_FILE_CHOOSER (fs_dlg), vbox); +#if GTK_CHECK_VERSION (3, 0, 0) + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); +#else hbox = gtk_hbox_new (FALSE, 12); +#endif gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 6); label = gtk_label_new_with_mnemonic (_("_Image type:")); |