Really fix build with Gtk+ 3
This commit is contained in:
parent
000b61d3b1
commit
4524eae0f2
|
@ -768,7 +768,7 @@ static GtkWidget * _preferences_window_panel(Panel * panel)
|
||||||
for(i = 0; i < sizeof(titles) / sizeof(*titles); i++)
|
for(i = 0; i < sizeof(titles) / sizeof(*titles); i++)
|
||||||
{
|
{
|
||||||
#if GTK_CHECK_VERSION(2, 24, 0)
|
#if GTK_CHECK_VERSION(2, 24, 0)
|
||||||
gtk_combo_box_text_append(GTK_COMBO_BOX(widget), _(titles[i]));
|
gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), _(titles[i]));
|
||||||
#else
|
#else
|
||||||
gtk_combo_box_append_text(GTK_COMBO_BOX(widget), _(titles[i]));
|
gtk_combo_box_append_text(GTK_COMBO_BOX(widget), _(titles[i]));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user