Replace deprecated functions/macros
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 17 Aug 2011 18:13:25 +0000 (18:13 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 17 Aug 2011 18:13:25 +0000 (18:13 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38590 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/main_airpcap_toolbar.c

index 22e86c9c8e773841a0ad84fb033311555a2a1130..ee41a88a1dd45c539f9e38493065957c72432ff3 100644 (file)
@@ -198,7 +198,7 @@ GtkWidget *airpcap_toolbar_new(void)
 
     /* airpcap toolbar */
     airpcap_tb = gtk_toolbar_new();
-    gtk_toolbar_set_orientation(GTK_TOOLBAR(airpcap_tb),
+    gtk_orientable_set_orientation(GTK_ORIENTABLE(airpcap_tb),
                                 GTK_ORIENTATION_HORIZONTAL);
 
     /* Create the "802.11 Channel:" label */