[Goodies-commits] r6093 - in xfce4-notes-plugin/trunk: . panel-plugin
Jannis Pohlmann
jannis at xfce.org
Fri Nov 14 02:15:49 CET 2008
Author: jannis
Date: 2008-11-14 01:15:49 +0000 (Fri, 14 Nov 2008)
New Revision: 6093
Modified:
xfce4-notes-plugin/trunk/ChangeLog
xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c
Log:
* panel-plugin/panel-plugin.c: Add missing includes and a few type
casts to avoid compiler warnings.
Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog 2008-11-13 20:04:52 UTC (rev 6092)
+++ xfce4-notes-plugin/trunk/ChangeLog 2008-11-14 01:15:49 UTC (rev 6093)
@@ -1,3 +1,8 @@
+2008-11-13 Jannis Pohlmann <jannis at xfce.org>
+
+ * panel-plugin/panel-plugin.c: Add missing includes and a few type
+ casts to avoid compiler warnings.
+
2008-11-01 Mike Massonnet <mmassonnet at xfce.org>
Update settings dialog
Modified: xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c 2008-11-13 20:04:52 UTC (rev 6092)
+++ xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c 2008-11-14 01:15:49 UTC (rev 6093)
@@ -30,9 +30,12 @@
#endif
#include "xfce4-popup-notes.h"
+#include <libxfce4panel/xfce-hvbox.h>
+#include <libxfce4panel/xfce-arrow-button.h>
+
static void notes_plugin_register (XfcePanelPlugin *panel_plugin);
static NotesPlugin *notes_plugin_new (XfcePanelPlugin *panel_plugin);
@@ -278,7 +281,7 @@
notes_plugin_set_orientation (NotesPlugin *notes_plugin,
GtkOrientation orientation)
{
- xfce_hvbox_set_orientation (notes_plugin->box_panel, orientation);
+ xfce_hvbox_set_orientation (XFCE_HVBOX (notes_plugin->box_panel), orientation);
XfceScreenPosition position = xfce_panel_plugin_get_screen_position (notes_plugin->panel_plugin);
@@ -289,23 +292,23 @@
case XFCE_SCREEN_POSITION_NW_H:
case XFCE_SCREEN_POSITION_N:
case XFCE_SCREEN_POSITION_NE_H:
- xfce_arrow_button_set_arrow_type (notes_plugin->btn_arrow, GTK_ARROW_DOWN);
+ xfce_arrow_button_set_arrow_type (XFCE_ARROW_BUTTON (notes_plugin->btn_arrow), GTK_ARROW_DOWN);
break;
case XFCE_SCREEN_POSITION_FLOATING_V:
case XFCE_SCREEN_POSITION_NW_V:
case XFCE_SCREEN_POSITION_W:
case XFCE_SCREEN_POSITION_SW_V:
- xfce_arrow_button_set_arrow_type (notes_plugin->btn_arrow, GTK_ARROW_RIGHT);
+ xfce_arrow_button_set_arrow_type (XFCE_ARROW_BUTTON (notes_plugin->btn_arrow), GTK_ARROW_RIGHT);
break;
case XFCE_SCREEN_POSITION_NE_V:
case XFCE_SCREEN_POSITION_E:
case XFCE_SCREEN_POSITION_SE_V:
- xfce_arrow_button_set_arrow_type (notes_plugin->btn_arrow, GTK_ARROW_LEFT);
+ xfce_arrow_button_set_arrow_type (XFCE_ARROW_BUTTON (notes_plugin->btn_arrow), GTK_ARROW_LEFT);
break;
case XFCE_SCREEN_POSITION_SW_H:
case XFCE_SCREEN_POSITION_S:
case XFCE_SCREEN_POSITION_SE_H:
- xfce_arrow_button_set_arrow_type (notes_plugin->btn_arrow, GTK_ARROW_UP);
+ xfce_arrow_button_set_arrow_type (XFCE_ARROW_BUTTON (notes_plugin->btn_arrow), GTK_ARROW_UP);
break;
}
}
More information about the Goodies-commits
mailing list