[gnome-panel] button-widget: fix build warnings



commit 349f708687374a76e9c460a0ab56caa95beb44e1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 27 00:37:49 2015 +0300

    button-widget: fix build warnings

 gnome-panel/button-widget.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/button-widget.c b/gnome-panel/button-widget.c
index ade20cd..05a0919 100644
--- a/gnome-panel/button-widget.c
+++ b/gnome-panel/button-widget.c
@@ -319,6 +319,8 @@ calc_arrow (PanelOrientation  orientation,
                 *angle = 3 * (G_PI / 2);
                retval = GTK_ARROW_LEFT;
                break;
+       default:
+               break;
        }
 
        return retval;
@@ -555,7 +557,7 @@ static gboolean
 button_widget_enter_notify (GtkWidget *widget, GdkEventCrossing *event)
 {
        GtkStateFlags state_flags;
-       gboolean in_button;
+       guint in_button;
        gboolean hover_highlight;
 
        g_return_val_if_fail (BUTTON_IS_WIDGET (widget), FALSE);
@@ -579,7 +581,7 @@ static gboolean
 button_widget_leave_notify (GtkWidget *widget, GdkEventCrossing *event)
 {
        GtkStateFlags state_flags;
-       gboolean in_button;
+       guint in_button;
        gboolean hover_highlight;
 
        g_return_val_if_fail (BUTTON_IS_WIDGET (widget), FALSE);


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