[gnome-control-center] shell: Fix compile warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Fix compile warnings
- Date: Wed, 8 Feb 2012 12:12:08 +0000 (UTC)
commit 64bbbd69995a3685137bc1f6c28340f471815166
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Feb 8 13:51:30 2012 +1100
shell: Fix compile warnings
https://bugzilla.gnome.org/show_bug.cgi?id=669627
shell/cc-shell.c | 3 +--
shell/control-center.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/shell/cc-shell.c b/shell/cc-shell.c
index 25efcce..95b6487 100644
--- a/shell/cc-shell.c
+++ b/shell/cc-shell.c
@@ -250,10 +250,9 @@ cc_shell_embed_widget_in_header (CcShell *shell, GtkWidget *widget)
g_warning ("Object of type \"%s\" does not implement required virtual"
" function \"embed_widget_in_header\",",
G_OBJECT_TYPE_NAME (shell));
- return FALSE;
}
else
{
- return class->embed_widget_in_header (shell, widget);
+ class->embed_widget_in_header (shell, widget);
}
}
diff --git a/shell/control-center.c b/shell/control-center.c
index 45653af..8e4621c 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -57,7 +57,7 @@ const GOptionEntry all_options[] = {
{ "help-all", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &show_help_all, N_("Show help options"), NULL },
{ "help-gtk", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &show_help_gtk, N_("Show help options"), NULL },
{ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &start_panels, N_("Panel to display"), NULL },
- { NULL } /* end the list */
+ { NULL, 0, 0, 0, NULL, NULL, NULL } /* end the list */
};
static int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]