[evolution/foocanvas] Fix compiler warnings.
- From: Henning Habighorst <hhabig src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/foocanvas] Fix compiler warnings.
- Date: Sun, 25 Apr 2010 21:00:54 +0000 (UTC)
commit a1ce4626c76985ed71fd98fa23deb020c28c4feb
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Apr 21 00:05:00 2010 -0400
Fix compiler warnings.
doc/reference/shell/tmpl/action-groups.sgml | 3 +++
doc/reference/shell/tmpl/e-account-utils.sgml | 5 +++++
doc/reference/shell/tmpl/e-alert.sgml | 3 +++
doc/reference/shell/tmpl/e-binding.sgml | 3 +++
doc/reference/shell/tmpl/e-bit-array.sgml | 3 +++
doc/reference/shell/tmpl/e-categories-config.sgml | 3 +++
doc/reference/shell/tmpl/e-datetime-format.sgml | 3 +++
doc/reference/shell/tmpl/e-dialog-utils.sgml | 3 +++
doc/reference/shell/tmpl/e-extensible.sgml | 3 +++
doc/reference/shell/tmpl/e-extension.sgml | 3 +++
doc/reference/shell/tmpl/e-html-utils.sgml | 3 +++
doc/reference/shell/tmpl/e-icon-factory.sgml | 3 +++
doc/reference/shell/tmpl/e-logger.sgml | 3 +++
doc/reference/shell/tmpl/e-module.sgml | 3 +++
doc/reference/shell/tmpl/e-print.sgml | 4 ++++
doc/reference/shell/tmpl/e-selection.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-backend.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-content.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-searchbar.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-settings.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-sidebar.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-switcher.sgml | 4 ++++
doc/reference/shell/tmpl/e-shell-taskbar.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-utils.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-view.sgml | 3 +++
doc/reference/shell/tmpl/e-shell-window.sgml | 3 +++
doc/reference/shell/tmpl/e-shell.sgml | 4 ++++
doc/reference/shell/tmpl/e-signature-list.sgml | 3 +++
doc/reference/shell/tmpl/e-signature-utils.sgml | 4 ++++
doc/reference/shell/tmpl/e-signature.sgml | 4 ++++
doc/reference/shell/tmpl/e-util.sgml | 11 +++++++++++
doc/reference/shell/tmpl/e-xml-utils.sgml | 3 +++
doc/reference/shell/tmpl/gconf-bridge.sgml | 5 +++++
doc/reference/shell/tmpl/shell-actions.sgml | 3 +++
shell/e-shell-content.c | 2 +-
widgets/misc/e-online-button.c | 2 +-
widgets/table/e-tree.c | 8 +++++---
37 files changed, 126 insertions(+), 5 deletions(-)
---
diff --git a/doc/reference/shell/tmpl/action-groups.sgml b/doc/reference/shell/tmpl/action-groups.sgml
index 5fe62d7..7e63335 100644
--- a/doc/reference/shell/tmpl/action-groups.sgml
+++ b/doc/reference/shell/tmpl/action-groups.sgml
@@ -17,6 +17,9 @@ Action Groups
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### MACRO E_SHELL_WINDOW_ACTION_GROUP_SHELL ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-account-utils.sgml b/doc/reference/shell/tmpl/e-account-utils.sgml
index a208a24..c0bdd3a 100644
--- a/doc/reference/shell/tmpl/e-account-utils.sgml
+++ b/doc/reference/shell/tmpl/e-account-utils.sgml
@@ -17,11 +17,15 @@ Mail Accounts
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_get_account_list ##### -->
<para>
</para>
+ void:
@Returns:
@@ -30,6 +34,7 @@ Mail Accounts
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/e-alert.sgml b/doc/reference/shell/tmpl/e-alert.sgml
index 93a52b3..3666408 100644
--- a/doc/reference/shell/tmpl/e-alert.sgml
+++ b/doc/reference/shell/tmpl/e-alert.sgml
@@ -17,6 +17,9 @@ User Alert Handling
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### MACRO E_ALERT_INFO ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-binding.sgml b/doc/reference/shell/tmpl/e-binding.sgml
index 945205a..3d84407 100644
--- a/doc/reference/shell/tmpl/e-binding.sgml
+++ b/doc/reference/shell/tmpl/e-binding.sgml
@@ -17,6 +17,9 @@ GObject Property Bindings
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EBinding ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-bit-array.sgml b/doc/reference/shell/tmpl/e-bit-array.sgml
index 0171404..088d06e 100644
--- a/doc/reference/shell/tmpl/e-bit-array.sgml
+++ b/doc/reference/shell/tmpl/e-bit-array.sgml
@@ -17,6 +17,9 @@ Bit Arrays (Legacy)
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EBitArray ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-categories-config.sgml b/doc/reference/shell/tmpl/e-categories-config.sgml
index 7257a03..29b3622 100644
--- a/doc/reference/shell/tmpl/e-categories-config.sgml
+++ b/doc/reference/shell/tmpl/e-categories-config.sgml
@@ -17,6 +17,9 @@ Categories
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_categories_config_get_icon_for ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-datetime-format.sgml b/doc/reference/shell/tmpl/e-datetime-format.sgml
index a85110c..7dee839 100644
--- a/doc/reference/shell/tmpl/e-datetime-format.sgml
+++ b/doc/reference/shell/tmpl/e-datetime-format.sgml
@@ -17,6 +17,9 @@ Date and Time Formatting
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### ENUM DTFormatKind ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-dialog-utils.sgml b/doc/reference/shell/tmpl/e-dialog-utils.sgml
index b571428..69dd22d 100644
--- a/doc/reference/shell/tmpl/e-dialog-utils.sgml
+++ b/doc/reference/shell/tmpl/e-dialog-utils.sgml
@@ -17,6 +17,9 @@ Dialog Utilities (Legacy)
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_notice ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-extensible.sgml b/doc/reference/shell/tmpl/e-extensible.sgml
index 4610431..333d823 100644
--- a/doc/reference/shell/tmpl/e-extensible.sgml
+++ b/doc/reference/shell/tmpl/e-extensible.sgml
@@ -17,6 +17,9 @@ EExtensible
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EExtensible ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-extension.sgml b/doc/reference/shell/tmpl/e-extension.sgml
index 59c3aa0..49a3a13 100644
--- a/doc/reference/shell/tmpl/e-extension.sgml
+++ b/doc/reference/shell/tmpl/e-extension.sgml
@@ -17,6 +17,9 @@ EExtension
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EExtension ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-html-utils.sgml b/doc/reference/shell/tmpl/e-html-utils.sgml
index 0588b32..7bf4021 100644
--- a/doc/reference/shell/tmpl/e-html-utils.sgml
+++ b/doc/reference/shell/tmpl/e-html-utils.sgml
@@ -17,6 +17,9 @@ Text to HTML Conversion
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### MACRO E_TEXT_TO_HTML_PRE ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-icon-factory.sgml b/doc/reference/shell/tmpl/e-icon-factory.sgml
index 4d01ead..ddd24e6 100644
--- a/doc/reference/shell/tmpl/e-icon-factory.sgml
+++ b/doc/reference/shell/tmpl/e-icon-factory.sgml
@@ -17,6 +17,9 @@ Icon Utilities (Legacy)
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_icon_factory_get_icon_filename ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-logger.sgml b/doc/reference/shell/tmpl/e-logger.sgml
index 95145bd..8b24f8b 100644
--- a/doc/reference/shell/tmpl/e-logger.sgml
+++ b/doc/reference/shell/tmpl/e-logger.sgml
@@ -17,6 +17,9 @@ Error Logging
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT ELogger ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-module.sgml b/doc/reference/shell/tmpl/e-module.sgml
index b73a974..eedd4e4 100644
--- a/doc/reference/shell/tmpl/e-module.sgml
+++ b/doc/reference/shell/tmpl/e-module.sgml
@@ -17,6 +17,9 @@ EModule
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EModule ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-print.sgml b/doc/reference/shell/tmpl/e-print.sgml
index 83f3a41..81a9bb6 100644
--- a/doc/reference/shell/tmpl/e-print.sgml
+++ b/doc/reference/shell/tmpl/e-print.sgml
@@ -17,11 +17,15 @@ Printing
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_print_operation_new ##### -->
<para>
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/e-selection.sgml b/doc/reference/shell/tmpl/e-selection.sgml
index 893307f..71f32f3 100644
--- a/doc/reference/shell/tmpl/e-selection.sgml
+++ b/doc/reference/shell/tmpl/e-selection.sgml
@@ -17,6 +17,9 @@ Selections
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_target_list_add_calendar_targets ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-backend.sgml b/doc/reference/shell/tmpl/e-shell-backend.sgml
index 76bf06c..20df66a 100644
--- a/doc/reference/shell/tmpl/e-shell-backend.sgml
+++ b/doc/reference/shell/tmpl/e-shell-backend.sgml
@@ -17,6 +17,9 @@ EShellBackend
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellBackend ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-content.sgml b/doc/reference/shell/tmpl/e-shell-content.sgml
index 3f53314..b6e1bde 100644
--- a/doc/reference/shell/tmpl/e-shell-content.sgml
+++ b/doc/reference/shell/tmpl/e-shell-content.sgml
@@ -17,6 +17,9 @@ EShellContent
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellContent ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-searchbar.sgml b/doc/reference/shell/tmpl/e-shell-searchbar.sgml
index 4817cce..fd575ae 100644
--- a/doc/reference/shell/tmpl/e-shell-searchbar.sgml
+++ b/doc/reference/shell/tmpl/e-shell-searchbar.sgml
@@ -17,6 +17,9 @@ EShellSearchbar
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellSearchbar ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-settings.sgml b/doc/reference/shell/tmpl/e-shell-settings.sgml
index 40ab707..375b7ff 100644
--- a/doc/reference/shell/tmpl/e-shell-settings.sgml
+++ b/doc/reference/shell/tmpl/e-shell-settings.sgml
@@ -17,6 +17,9 @@ EShellSettings
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellSettings ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-sidebar.sgml b/doc/reference/shell/tmpl/e-shell-sidebar.sgml
index 45a55b1..3f65241 100644
--- a/doc/reference/shell/tmpl/e-shell-sidebar.sgml
+++ b/doc/reference/shell/tmpl/e-shell-sidebar.sgml
@@ -17,6 +17,9 @@ EShellSidebar
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellSidebar ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-switcher.sgml b/doc/reference/shell/tmpl/e-shell-switcher.sgml
index 33a6479..6c991cb 100644
--- a/doc/reference/shell/tmpl/e-shell-switcher.sgml
+++ b/doc/reference/shell/tmpl/e-shell-switcher.sgml
@@ -17,6 +17,9 @@ EShellSwitcher
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellSwitcher ##### -->
<para>
@@ -46,6 +49,7 @@ EShellSwitcher
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/e-shell-taskbar.sgml b/doc/reference/shell/tmpl/e-shell-taskbar.sgml
index f1bbdf0..c1e9a65 100644
--- a/doc/reference/shell/tmpl/e-shell-taskbar.sgml
+++ b/doc/reference/shell/tmpl/e-shell-taskbar.sgml
@@ -17,6 +17,9 @@ EShellTaskbar
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellTaskbar ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-utils.sgml b/doc/reference/shell/tmpl/e-shell-utils.sgml
index a5768cf..710c1a9 100644
--- a/doc/reference/shell/tmpl/e-shell-utils.sgml
+++ b/doc/reference/shell/tmpl/e-shell-utils.sgml
@@ -17,6 +17,9 @@ Shell Utilities
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_shell_configure_ui_manager ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-view.sgml b/doc/reference/shell/tmpl/e-shell-view.sgml
index 5efb4d7..fb901ae 100644
--- a/doc/reference/shell/tmpl/e-shell-view.sgml
+++ b/doc/reference/shell/tmpl/e-shell-view.sgml
@@ -17,6 +17,9 @@ EShellView
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellView ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell-window.sgml b/doc/reference/shell/tmpl/e-shell-window.sgml
index 0dcb1c4..e0fbe2c 100644
--- a/doc/reference/shell/tmpl/e-shell-window.sgml
+++ b/doc/reference/shell/tmpl/e-shell-window.sgml
@@ -17,6 +17,9 @@ EShellWindow
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShellWindow ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-shell.sgml b/doc/reference/shell/tmpl/e-shell.sgml
index 404bb50..668ba80 100644
--- a/doc/reference/shell/tmpl/e-shell.sgml
+++ b/doc/reference/shell/tmpl/e-shell.sgml
@@ -17,6 +17,9 @@ EShell
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT EShell ##### -->
<para>
@@ -129,6 +132,7 @@ EShell
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/e-signature-list.sgml b/doc/reference/shell/tmpl/e-signature-list.sgml
index 42e7f5d..1297695 100644
--- a/doc/reference/shell/tmpl/e-signature-list.sgml
+++ b/doc/reference/shell/tmpl/e-signature-list.sgml
@@ -17,6 +17,9 @@ Container for Signatures
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT ESignatureList ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/e-signature-utils.sgml b/doc/reference/shell/tmpl/e-signature-utils.sgml
index f1317fe..b16e2ae 100644
--- a/doc/reference/shell/tmpl/e-signature-utils.sgml
+++ b/doc/reference/shell/tmpl/e-signature-utils.sgml
@@ -17,11 +17,15 @@ More Signature Utilities
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_get_signature_list ##### -->
<para>
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/e-signature.sgml b/doc/reference/shell/tmpl/e-signature.sgml
index 19e07ba..8de6adf 100644
--- a/doc/reference/shell/tmpl/e-signature.sgml
+++ b/doc/reference/shell/tmpl/e-signature.sgml
@@ -17,6 +17,9 @@ Personalized Signatures
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT ESignature ##### -->
<para>
@@ -58,6 +61,7 @@ Personalized Signatures
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/e-util.sgml b/doc/reference/shell/tmpl/e-util.sgml
index beae9b9..1d17258 100644
--- a/doc/reference/shell/tmpl/e-util.sgml
+++ b/doc/reference/shell/tmpl/e-util.sgml
@@ -17,11 +17,15 @@ Miscellaneous Utilities
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_get_user_data_dir ##### -->
<para>
</para>
+ void:
@Returns:
@@ -30,6 +34,7 @@ Miscellaneous Utilities
</para>
+ void:
@Returns:
@@ -38,6 +43,7 @@ Miscellaneous Utilities
</para>
+ void:
@Returns:
@@ -289,6 +295,7 @@ Miscellaneous Utilities
</para>
+ void:
@Returns:
@@ -297,6 +304,7 @@ Miscellaneous Utilities
</para>
+ void:
@Returns:
@@ -305,6 +313,7 @@ Miscellaneous Utilities
</para>
+ void:
<!-- ##### FUNCTION e_file_lock_exists ##### -->
@@ -312,6 +321,7 @@ Miscellaneous Utilities
</para>
+ void:
@Returns:
@@ -330,6 +340,7 @@ Miscellaneous Utilities
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/e-xml-utils.sgml b/doc/reference/shell/tmpl/e-xml-utils.sgml
index e9c17a0..09899f9 100644
--- a/doc/reference/shell/tmpl/e-xml-utils.sgml
+++ b/doc/reference/shell/tmpl/e-xml-utils.sgml
@@ -17,6 +17,9 @@ Reading and Writing XML
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### FUNCTION e_xml_get_child_by_name_by_lang ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/gconf-bridge.sgml b/doc/reference/shell/tmpl/gconf-bridge.sgml
index e7b43da..8cd6a87 100644
--- a/doc/reference/shell/tmpl/gconf-bridge.sgml
+++ b/doc/reference/shell/tmpl/gconf-bridge.sgml
@@ -17,6 +17,9 @@ GConf Bridge
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT GConfBridge ##### -->
<para>
@@ -28,6 +31,7 @@ GConf Bridge
</para>
+ void:
<!-- ##### FUNCTION gconf_bridge_get ##### -->
@@ -35,6 +39,7 @@ GConf Bridge
</para>
+ void:
@Returns:
diff --git a/doc/reference/shell/tmpl/shell-actions.sgml b/doc/reference/shell/tmpl/shell-actions.sgml
index 539cdb0..30d5291 100644
--- a/doc/reference/shell/tmpl/shell-actions.sgml
+++ b/doc/reference/shell/tmpl/shell-actions.sgml
@@ -17,6 +17,9 @@ Shell Actions
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### MACRO E_SHELL_WINDOW_ACTION_ABOUT ##### -->
<para>
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index aef93d7..fba96d7 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -313,7 +313,7 @@ e_shell_content_init (EShellContent *shell_content)
{
shell_content->priv = E_SHELL_CONTENT_GET_PRIVATE (shell_content);
- gtk_widget_set_has_window (shell_content, FALSE);
+ gtk_widget_set_has_window (GTK_WIDGET (shell_content), FALSE);
}
/**
diff --git a/widgets/misc/e-online-button.c b/widgets/misc/e-online-button.c
index 6fcd446..1157ecd 100644
--- a/widgets/misc/e-online-button.c
+++ b/widgets/misc/e-online-button.c
@@ -141,7 +141,7 @@ online_button_init (EOnlineButton *button)
button->priv = E_ONLINE_BUTTON_GET_PRIVATE (button);
- gtk_widget_set_can_focus (button, FALSE);
+ gtk_widget_set_can_focus (GTK_WIDGET (button), FALSE);
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
widget = gtk_image_new ();
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 412dc9f..de71f36 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -708,11 +708,13 @@ header_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc, ETree *e_t
static void
e_tree_setup_header (ETree *e_tree)
{
+ GtkWidget *widget;
gchar *pointer;
- e_tree->priv->header_canvas = FOO_CANVAS (e_canvas_new ());
- gtk_widget_set_can_focus (e_tree->priv->header_canvas, FALSE);
- gtk_widget_show (GTK_WIDGET (e_tree->priv->header_canvas));
+ widget = e_canvas_new ();
+ gtk_widget_set_can_focus (widget, FALSE);
+ e_tree->priv->header_canvas = FOO_CANVAS (widget);
+ gtk_widget_show (widget);
pointer = g_strdup_printf("%p", (gpointer) e_tree);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]