diff src/vorbis/configure.c @ 3035:13a0e4377c20

Don't use deprecated gtk functions
author Tomasz Mon <desowin@gmail.com>
date Fri, 10 Apr 2009 13:24:02 +0200
parents 3134a0987162
children
line wrap: on
line diff
--- a/src/vorbis/configure.c	Fri Apr 10 12:28:44 2009 +0200
+++ b/src/vorbis/configure.c	Fri Apr 10 13:24:02 2009 +0200
@@ -81,7 +81,7 @@
     gtk_window_set_title(GTK_WINDOW(vorbis_configurewin),
                          _("Ogg Vorbis Audio Plugin Configuration"));
     gtk_window_set_resizable(GTK_WINDOW(vorbis_configurewin), FALSE);
-    gtk_container_border_width(GTK_CONTAINER(vorbis_configurewin), 10);
+    gtk_container_set_border_width(GTK_CONTAINER(vorbis_configurewin), 10);
 
     vbox = gtk_vbox_new(FALSE, 10);
     gtk_container_add(GTK_CONTAINER(vorbis_configurewin), vbox);
@@ -90,10 +90,10 @@
     /* Title config.. */
 
     title_frame = gtk_frame_new(_("Ogg Vorbis Tags:"));
-    gtk_container_border_width(GTK_CONTAINER(title_frame), 5);
+    gtk_container_set_border_width(GTK_CONTAINER(title_frame), 5);
 
     title_tag_vbox = gtk_vbox_new(FALSE, 10);
-    gtk_container_border_width(GTK_CONTAINER(title_tag_vbox), 5);
+    gtk_container_set_border_width(GTK_CONTAINER(title_tag_vbox), 5);
     gtk_container_add(GTK_CONTAINER(title_frame), title_tag_vbox);
 
     title_tag_override =
@@ -124,7 +124,7 @@
 
     bbox = gtk_hbutton_box_new();
     gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);
-    gtk_button_box_set_spacing(GTK_BUTTON_BOX(bbox), 5);
+    gtk_box_set_spacing(GTK_BOX(bbox), 5);
     gtk_box_pack_start(GTK_BOX(vbox), bbox, FALSE, FALSE, 0);
 
     cancel = gtk_button_new_from_stock(GTK_STOCK_CANCEL);