diff options
Diffstat (limited to 'gtk/ScintillaGTKAccessible.cxx')
| -rw-r--r-- | gtk/ScintillaGTKAccessible.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/ScintillaGTKAccessible.cxx b/gtk/ScintillaGTKAccessible.cxx index e6b54be49..13511d5f5 100644 --- a/gtk/ScintillaGTKAccessible.cxx +++ b/gtk/ScintillaGTKAccessible.cxx @@ -949,7 +949,7 @@ static gpointer scintilla_object_accessible_parent_class = NULL; // @p parent_type is only required on GTK 3.2 to 3.6, and only on the first call -static GType scintilla_object_accessible_get_type(GType parent_type) { +static GType scintilla_object_accessible_get_type(GType parent_type G_GNUC_UNUSED) { static volatile gsize type_id_result = 0; if (g_once_init_enter(&type_id_result)) { @@ -1033,7 +1033,7 @@ static AtkObject *scintilla_object_accessible_new(GType parent_type, GObject *ob // @p widget the widget. // @p cache pointer to store the AtkObject between repeated calls. Might or might not be filled. // @p widget_parent_class pointer to the widget's parent class (to chain up method calls). -AtkObject *ScintillaGTKAccessible::WidgetGetAccessibleImpl(GtkWidget *widget, AtkObject **cache, gpointer widget_parent_class) { +AtkObject *ScintillaGTKAccessible::WidgetGetAccessibleImpl(GtkWidget *widget, AtkObject **cache, gpointer widget_parent_class G_GNUC_UNUSED) { #if HAVE_GTK_A11Y_H // just instantiate the accessible if (*cache == NULL) { *cache = scintilla_object_accessible_new(0, G_OBJECT(widget)); |
