HOWTO: add missing [netsplice] for ioengine specific options
[fio.git] / gcompat.h
index 61b989458468e7b6d30a544206e2ed0e073b1344..e0f744434eb45a8a08b556a66811d7ff39815b9a 100644 (file)
--- a/gcompat.h
+++ b/gcompat.h
@@ -12,7 +12,7 @@ void gtk_combo_box_text_append_text(GtkComboBoxText *combo_box, const gchar *tex
 void gtk_combo_box_text_insert_text(GtkComboBoxText *combo_box, gint position, const gchar *text);
 void gtk_combo_box_text_prepend_text(GtkComboBoxText *combo_box, const gchar *text);
 void gtk_combo_box_text_remove(GtkComboBoxText *combo_box, gint position);
-gchar *gtk_combo_box_text_get_active_text  (GtkComboBoxText *combo_box);
+gchar *gtk_combo_box_text_get_active_text(GtkComboBoxText *combo_box);
 
 #define GTK_COMBO_BOX_TEXT     GTK_COMBO_BOX
 #endif /* GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION < 24 */
@@ -39,4 +39,8 @@ guint gtk_widget_get_allocated_height(GtkWidget *w);
 #define GFIO_DRAW_EVENT                "expose_event"
 #endif
 
+#if GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION < 18
+void gtk_widget_set_can_focus(GtkWidget *widget, gboolean can_focus);
+#endif
+
 #endif