[Xfce4-commits] r29487 - xfce4-settings/trunk/xfce4-settings-manager
Nick Schermer
nick at xfce.org
Fri Feb 13 16:11:39 CET 2009
Author: nick
Date: 2009-02-13 15:11:39 +0000 (Fri, 13 Feb 2009)
New Revision: 29487
Modified:
xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c
Log:
Fix compilation warnings with pluggable dialogs disabled.
Modified: xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c
===================================================================
--- xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c 2009-02-13 14:53:43 UTC (rev 29486)
+++ xfce4-settings/trunk/xfce4-settings-manager/xfce-settings-manager-dialog.c 2009-02-13 15:11:39 UTC (rev 29487)
@@ -151,7 +151,9 @@
xfce_settings_manager_dialog_init(XfceSettingsManagerDialog *dialog)
{
XfconfChannel *channel;
+#ifdef ENABLE_PLUGGABLE_DIALOGS
GtkWidget *scrollwin;
+#endif
GtkCellRenderer *render;
gint width, height;
@@ -532,11 +534,11 @@
{
XfceSettingsManagerDialog *dialog = user_data;
GtkTreeIter iter;
- gchar *exec = NULL, *name, *comment, *icon_name, *primary, *command;
+ gchar *exec = NULL, *name, *comment, *icon_name, *primary;
gboolean snotify = FALSE;
#ifdef ENABLE_PLUGGABLE_DIALOGS
gboolean pluggable = FALSE;
- gchar *help_file;
+ gchar *help_file, *command;
#endif
GError *error = NULL;
@@ -672,7 +674,9 @@
xfce_settings_manager_dialog_response(GtkDialog *dialog,
gint response)
{
+#ifdef ENABLE_PLUGGABLE_DIALOGS
XfceSettingsManagerDialog *sm_dialog = XFCE_SETTINGS_MANAGER_DIALOG(dialog);
+#endif
if(response == GTK_RESPONSE_CLOSE) {
xfce_settings_manager_dialog_closed(GTK_WIDGET(dialog), NULL);
More information about the Xfce4-commits
mailing list