From: Michael Orlitzky Date: Wed, 23 Oct 2019 02:59:40 +0000 (-0400) Subject: xfce4-hdaps-dialogs.c: update to newer combo box API. X-Git-Tag: v1.0.0~20 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=eca7888e5b1854e1bc95f0de26ea4904f7ac51f1;hp=eca7888e5b1854e1bc95f0de26ea4904f7ac51f1;p=xfce4-hdaps.git xfce4-hdaps-dialogs.c: update to newer combo box API. The gtk_combo_box_get_active_text() and gtk_combo_box_append_text() functions have apparently been deprecated since gtk+-2.24. Instead of calling those functions on a GtkComboBox pointer, we're instead supposed to call e.g. gtk_combo_box_text_get_active_text() on a GtkComboBoxText pointer. Since our "cb_device_name" member was only ever declared as a GtkWidget, all we have to do is switch everything to the new functions so that they create, access, and modify the GtkComboBoxText referred to by cb_device_name instead of a GtkComboBox in the same place. ---