[gtk+/wip/baedert/drawing: 107/142] testtooltips: Fix Gtk(Check)Button API mixup



commit caec90a9b16a21b721a6ebfbc6a2d543da3050b6
Author: Timm Bäder <mail baedert org>
Date:   Wed May 24 10:21:46 2017 +0200

    testtooltips: Fix Gtk(Check)Button API mixup

 tests/testtooltips.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testtooltips.c b/tests/testtooltips.c
index 3d64b92..d72140a 100644
--- a/tests/testtooltips.c
+++ b/tests/testtooltips.c
@@ -31,7 +31,7 @@ query_tooltip_cb (GtkWidget  *widget,
                  GtkTooltip *tooltip,
                  gpointer    data)
 {
-  gtk_tooltip_set_markup (tooltip, gtk_button_get_label (GTK_BUTTON (widget)));
+  gtk_tooltip_set_markup (tooltip, gtk_check_button_get_label (GTK_CHECK_BUTTON (widget)));
   gtk_tooltip_set_icon_from_icon_name (tooltip, "edit-delete",
                                        GTK_ICON_SIZE_MENU);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]