diff options
author | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-10-05 19:57:30 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-10-05 19:57:30 +0800 |
commit | 4ec46cc05fcb94d181fb9c2412984a1446647c85 (patch) | |
tree | d16ce30e77dd539c03509237dd4c723d46aea97a /widgets/misc | |
parent | 5ea7e23aef0c239af2600c95419ba0bda0f08b3c (diff) | |
parent | 19163c2b71e6128fc9b32287b99b1f4422324c2d (diff) | |
download | gsoc2013-evolution-4ec46cc05fcb94d181fb9c2412984a1446647c85.tar gsoc2013-evolution-4ec46cc05fcb94d181fb9c2412984a1446647c85.tar.gz gsoc2013-evolution-4ec46cc05fcb94d181fb9c2412984a1446647c85.tar.bz2 gsoc2013-evolution-4ec46cc05fcb94d181fb9c2412984a1446647c85.tar.lz gsoc2013-evolution-4ec46cc05fcb94d181fb9c2412984a1446647c85.tar.xz gsoc2013-evolution-4ec46cc05fcb94d181fb9c2412984a1446647c85.tar.zst gsoc2013-evolution-4ec46cc05fcb94d181fb9c2412984a1446647c85.zip |
Merge from master
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/Makefile.am | 29 | ||||
-rw-r--r-- | widgets/misc/e-account-tree-view.c | 32 | ||||
-rw-r--r-- | widgets/misc/e-attachment-handler.h | 2 | ||||
-rw-r--r-- | widgets/misc/e-attachment-icon-view.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-attachment-store.c | 11 | ||||
-rw-r--r-- | widgets/misc/e-attachment-tree-view.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-calendar-item.c | 3 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-import-assistant.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-url-entry.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-url-entry.h | 3 | ||||
-rw-r--r-- | widgets/misc/e-web-view.c | 2 |
12 files changed, 52 insertions, 40 deletions
diff --git a/widgets/misc/Makefile.am b/widgets/misc/Makefile.am index 33bde9301c..cd5cada041 100644 --- a/widgets/misc/Makefile.am +++ b/widgets/misc/Makefile.am @@ -78,15 +78,15 @@ libemiscwidgets_la_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/filter \ -I$(top_srcdir)/widgets \ - -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" \ + -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" \ -DEVOLUTION_UIDIR=\""$(uidir)"\" \ -DG_LOG_DOMAIN=__FILE__ \ - $(EVOLUTION_MAIL_CFLAGS) \ + $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ $(CHAMPLAIN_CFLAGS) \ $(GEOCLUE_CFLAGS) \ - $(CLUTTER_CFLAGS) - + $(CLUTTER_CFLAGS) \ + $(GTKHTML_CFLAGS) libemiscwidgets_la_SOURCES = \ $(widgetsinclude_HEADERS) \ @@ -165,13 +165,14 @@ libemiscwidgets_la_LIBADD = \ $(top_builddir)/filter/libfilter.la \ $(top_builddir)/a11y/libevolution-a11y.la \ $(top_builddir)/libgnomecanvas/libgnomecanvas.la \ - $(EVOLUTION_MAIL_LIBS) \ + $(EVOLUTION_DATA_SERVER_LIBS) \ $(GNOME_PLATFORM_LIBS) \ $(MATH_LIB) \ $(ICONV_LIBS) \ $(CHAMPLAIN_LIBS) \ $(GEOCLUE_LIBS) \ - $(CLUTTER_LIBS) + $(CLUTTER_LIBS) \ + $(GTKHTML_LIBS) noinst_PROGRAMS = \ test-calendar \ @@ -183,9 +184,9 @@ test_widgets_misc_CPPFLAGS= \ -I$(top_srcdir) \ -I$(top_srcdir)/filter \ -I$(top_srcdir)/widgets \ - -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" \ + -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" \ -DG_LOG_DOMAIN=__FILE__ \ - $(EVOLUTION_MAIL_CFLAGS) \ + $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) # test-calendar @@ -199,8 +200,8 @@ test_calendar_LDADD = \ libemiscwidgets.la \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/filter/libfilter.la \ - $(GNOME_PLATFORM_LIBS) \ - $(E_WIDGETS_LIBS) + $(EVOLUTION_DATA_SERVER_LIBS) \ + $(GNOME_PLATFORM_LIBS) # test-dateedit @@ -213,8 +214,8 @@ test_dateedit_LDADD = \ libemiscwidgets.la \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/filter/libfilter.la \ - $(GNOME_PLATFORM_LIBS) \ - $(E_WIDGETS_LIBS) + $(EVOLUTION_DATA_SERVER_LIBS) \ + $(GNOME_PLATFORM_LIBS) # test-preferences-window @@ -227,8 +228,8 @@ test_preferences_window_LDADD = \ libemiscwidgets.la \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/filter/libfilter.la \ - $(GNOME_PLATFORM_LIBS) \ - $(E_WIDGETS_LIBS) + $(EVOLUTION_DATA_SERVER_LIBS) \ + $(GNOME_PLATFORM_LIBS) EXTRA_DIST = $(ui_DATA) diff --git a/widgets/misc/e-account-tree-view.c b/widgets/misc/e-account-tree-view.c index a2136433d4..7eae4e14aa 100644 --- a/widgets/misc/e-account-tree-view.c +++ b/widgets/misc/e-account-tree-view.c @@ -941,7 +941,8 @@ e_account_tree_view_get_selected_type (EAccountTreeView *tree_view) * Since: 3.4 **/ void -e_account_tree_view_set_selected_type (EAccountTreeView *tree_view, EAccountTreeViewSelectedType select) +e_account_tree_view_set_selected_type (EAccountTreeView *tree_view, + EAccountTreeViewSelectedType select) { GtkTreeSelection *selection; GtkTreeModel *model; @@ -994,7 +995,8 @@ e_account_tree_view_set_selected_type (EAccountTreeView *tree_view, EAccountTree } static guint -account_tree_view_get_slist_index (const GSList *account_uids, const gchar *uid) +account_tree_view_get_slist_index (const GSList *account_uids, + const gchar *uid) { guint res = 0; @@ -1021,7 +1023,8 @@ account_tree_view_get_slist_index (const GSList *account_uids, const gchar *uid) * Since: 3.4 **/ void -e_account_tree_view_set_sort_order (EAccountTreeView *tree_view, const GSList *account_uids) +e_account_tree_view_set_sort_order (EAccountTreeView *tree_view, + const GSList *account_uids) { GtkTreeModel *model; GtkTreeIter iter; @@ -1064,7 +1067,9 @@ e_account_tree_view_set_sort_order (EAccountTreeView *tree_view, const GSList *a } static gint -eval_order_by_sort_hash_cb (gconstpointer a, gconstpointer b, gpointer user_data) +eval_order_by_sort_hash_cb (gconstpointer a, + gconstpointer b, + gpointer user_data) { guint asortorder = GPOINTER_TO_UINT (g_hash_table_lookup (user_data, a)); guint bsortorder = GPOINTER_TO_UINT (g_hash_table_lookup (user_data, b)); @@ -1173,7 +1178,8 @@ e_account_tree_view_sort_changed (EAccountTreeView *tree_view) } static void -account_tree_view_swap_sort_order (EAccountTreeView *tree_view, gint direction) +account_tree_view_swap_sort_order (EAccountTreeView *tree_view, + gint direction) { GtkTreeSelection *selection; GtkTreeModel *model; @@ -1239,7 +1245,8 @@ e_account_tree_view_move_down (EAccountTreeView *tree_view) } void -e_account_tree_view_set_sort_alpha (EAccountTreeView *tree_view, gboolean sort_alpha) +e_account_tree_view_set_sort_alpha (EAccountTreeView *tree_view, + gboolean sort_alpha) { g_return_if_fail (tree_view != NULL); g_return_if_fail (E_IS_ACCOUNT_TREE_VIEW (tree_view)); @@ -1265,7 +1272,8 @@ e_account_tree_view_get_sort_alpha (EAccountTreeView *tree_view) } void -e_account_tree_view_set_express_mode (EAccountTreeView *tree_view, gboolean express_mode) +e_account_tree_view_set_express_mode (EAccountTreeView *tree_view, + gboolean express_mode) { g_return_if_fail (tree_view != NULL); g_return_if_fail (E_IS_ACCOUNT_TREE_VIEW (tree_view)); @@ -1291,7 +1299,9 @@ e_account_tree_view_get_express_mode (EAccountTreeView *tree_view) } static void -update_special_enable_state (EAccountTreeView *tree_view, const gchar *display_name, gboolean enabled) +update_special_enable_state (EAccountTreeView *tree_view, + const gchar *display_name, + gboolean enabled) { GtkTreeModel *model; GtkTreeIter iter; @@ -1332,7 +1342,8 @@ update_special_enable_state (EAccountTreeView *tree_view, const gchar *display_n } void -e_account_tree_view_set_enable_local_folders (EAccountTreeView *tree_view, gboolean enabled) +e_account_tree_view_set_enable_local_folders (EAccountTreeView *tree_view, + gboolean enabled) { g_return_if_fail (tree_view != NULL); g_return_if_fail (E_IS_ACCOUNT_TREE_VIEW (tree_view)); @@ -1359,7 +1370,8 @@ e_account_tree_view_get_enable_local_folders (EAccountTreeView *tree_view) } void -e_account_tree_view_set_enable_search_folders (EAccountTreeView *tree_view, gboolean enabled) +e_account_tree_view_set_enable_search_folders (EAccountTreeView *tree_view, + gboolean enabled) { g_return_if_fail (tree_view != NULL); g_return_if_fail (E_IS_ACCOUNT_TREE_VIEW (tree_view)); diff --git a/widgets/misc/e-attachment-handler.h b/widgets/misc/e-attachment-handler.h index e85cd9b2ee..81a883deeb 100644 --- a/widgets/misc/e-attachment-handler.h +++ b/widgets/misc/e-attachment-handler.h @@ -22,7 +22,7 @@ #ifndef E_ATTACHMENT_HANDLER_H #define E_ATTACHMENT_HANDLER_H -#include <e-util/e-extension.h> +#include <libebackend/e-extension.h> #include <misc/e-attachment-view.h> /* Standard GObject macros */ diff --git a/widgets/misc/e-attachment-icon-view.c b/widgets/misc/e-attachment-icon-view.c index 9dd782529b..cf14d97746 100644 --- a/widgets/misc/e-attachment-icon-view.c +++ b/widgets/misc/e-attachment-icon-view.c @@ -26,7 +26,7 @@ #include "e-attachment-icon-view.h" #include <glib/gi18n.h> -#include <e-util/e-extensible.h> +#include <libebackend/e-extensible.h> #include "e-attachment.h" #include "e-attachment-store.h" diff --git a/widgets/misc/e-attachment-store.c b/widgets/misc/e-attachment-store.c index 8db9f2af80..691fd518b8 100644 --- a/widgets/misc/e-attachment-store.c +++ b/widgets/misc/e-attachment-store.c @@ -1080,7 +1080,7 @@ struct _SaveContext { static SaveContext * attachment_store_save_context_new (EAttachmentStore *store, GFile *destination, - const gchar *filename_prefix, + const gchar *filename_prefix, GAsyncReadyCallback callback, gpointer user_data) { @@ -1128,7 +1128,7 @@ attachment_store_save_context_free (SaveContext *save_context) g_free (save_context->filename_prefix); save_context->filename_prefix = NULL; - + if (save_context->fresh_directory) { g_object_unref (save_context->fresh_directory); save_context->fresh_directory = NULL; @@ -1145,7 +1145,10 @@ attachment_store_save_context_free (SaveContext *save_context) } static void -attachment_store_move_file (SaveContext *save_context, GFile *source, GFile *destination, GError **error) +attachment_store_move_file (SaveContext *save_context, + GFile *source, + GFile *destination, + GError **error) { gchar *tmpl; gchar *path; @@ -1311,7 +1314,7 @@ attachment_store_save_cb (EAttachment *attachment, void e_attachment_store_save_async (EAttachmentStore *store, GFile *destination, - const gchar *filename_prefix, + const gchar *filename_prefix, GAsyncReadyCallback callback, gpointer user_data) { diff --git a/widgets/misc/e-attachment-tree-view.c b/widgets/misc/e-attachment-tree-view.c index 529312006f..7c67fdb917 100644 --- a/widgets/misc/e-attachment-tree-view.c +++ b/widgets/misc/e-attachment-tree-view.c @@ -26,7 +26,7 @@ #include "e-attachment-tree-view.h" #include <glib/gi18n.h> -#include <e-util/e-extensible.h> +#include <libebackend/e-extensible.h> #include "e-attachment.h" #include "e-attachment-store.h" diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c index d3f42fd359..c7f2e049d9 100644 --- a/widgets/misc/e-calendar-item.c +++ b/widgets/misc/e-calendar-item.c @@ -25,6 +25,8 @@ #include <config.h> #endif +#include <libebackend/e-extensible.h> + #include "e-calendar-item.h" #include "ea-widgets.h" @@ -36,7 +38,6 @@ #include <glib/gi18n.h> #include <libedataserver/e-data-server-util.h> #include <e-util/e-util.h> -#include <e-util/e-extensible.h> static const gint e_calendar_item_days_in_month[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 2a9eb7f457..970a06b402 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -37,10 +37,10 @@ #include <atk/atkrelation.h> #include <atk/atkrelationset.h> #include <glib/gi18n.h> +#include <libebackend/e-extensible.h> #include <libedataserver/e-time-utils.h> #include <libedataserver/e-data-server-util.h> #include <e-util/e-util.h> -#include <e-util/e-extensible.h> #include "e-calendar.h" struct _EDateEditPrivate { diff --git a/widgets/misc/e-import-assistant.c b/widgets/misc/e-import-assistant.c index 06dff88e29..a2588cd075 100644 --- a/widgets/misc/e-import-assistant.c +++ b/widgets/misc/e-import-assistant.c @@ -32,9 +32,9 @@ #include <glib/gi18n.h> #include <gdk/gdkkeysyms.h> +#include <libebackend/e-extensible.h> #include <e-util/e-import.h> -#include <e-util/e-extensible.h> #include <e-util/e-util-private.h> typedef struct _ImportFilePage ImportFilePage; diff --git a/widgets/misc/e-url-entry.c b/widgets/misc/e-url-entry.c index c4a174c0a6..c59cf0739c 100644 --- a/widgets/misc/e-url-entry.c +++ b/widgets/misc/e-url-entry.c @@ -118,8 +118,6 @@ mnemonic_activate (GtkWidget *widget, return gtk_widget_mnemonic_activate (priv->entry, group_cycling); } - - GtkWidget * e_url_entry_new (void) { diff --git a/widgets/misc/e-url-entry.h b/widgets/misc/e-url-entry.h index 7b50f79f7a..119fe47b18 100644 --- a/widgets/misc/e-url-entry.h +++ b/widgets/misc/e-url-entry.h @@ -33,7 +33,6 @@ G_BEGIN_DECLS #define E_IS_URL_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_URL_ENTRY)) #define E_IS_URL_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_URL_ENTRY)) - typedef struct _EUrlEntry EUrlEntry; typedef struct _EUrlEntryPrivate EUrlEntryPrivate; typedef struct _EUrlEntryClass EUrlEntryClass; @@ -48,8 +47,6 @@ struct _EUrlEntryClass { GtkHBoxClass parent_class; }; - - GType e_url_entry_get_type (void); GtkWidget *e_url_entry_new (void); GtkWidget *e_url_entry_get_entry (EUrlEntry *url_entry); diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index 8e037ac66c..c35bbcc123 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -26,11 +26,11 @@ #include <glib/gi18n-lib.h> #include <camel/camel.h> +#include <libebackend/e-extensible.h> #include <e-util/e-util.h> #include <e-util/e-alert-dialog.h> #include <e-util/e-alert-sink.h> -#include <e-util/e-extensible.h> #include <e-util/e-plugin-ui.h> #include "e-popup-action.h" |