Mercurial > audlegacy-plugins
diff src/skins/ui_main.c @ 3017:963796db51ea
Don't use deprecated gtk macros and types
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Thu, 09 Apr 2009 14:23:42 +0200 |
parents | 3134a0987162 |
children | 9c0673583d73 |
line wrap: on
line diff
--- a/src/skins/ui_main.c Thu Apr 09 02:21:21 2009 +0300 +++ b/src/skins/ui_main.c Thu Apr 09 14:23:42 2009 +0200 @@ -937,7 +937,7 @@ g_signal_connect(mainwin_jtt, "destroy", G_CALLBACK(gtk_widget_destroyed), &mainwin_jtt); - gtk_container_border_width(GTK_CONTAINER(mainwin_jtt), 10); + gtk_container_set_border_width(GTK_CONTAINER(mainwin_jtt), 10); vbox = gtk_vbox_new(FALSE, 5); gtk_container_add(GTK_CONTAINER(mainwin_jtt), vbox); @@ -973,7 +973,7 @@ bbox = gtk_hbutton_box_new(); gtk_box_pack_start(GTK_BOX(vbox), bbox, TRUE, TRUE, 0); 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); cancel = gtk_button_new_from_stock(GTK_STOCK_CANCEL); GTK_WIDGET_SET_FLAGS(cancel, GTK_CAN_DEFAULT); @@ -992,7 +992,7 @@ tindex % 60); gtk_entry_set_text(GTK_ENTRY(time_entry), time_str); - gtk_entry_select_region(GTK_ENTRY(time_entry), 0, strlen(time_str)); + gtk_editable_select_region(GTK_EDITABLE(time_entry), 0, strlen(time_str)); gtk_widget_show_all(mainwin_jtt);