aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-03-02 13:23:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-03-02 13:23:46 +0800
commit9c26fef2d420b58f8e3699af4c09705f3e9eb65b (patch)
treebc4c445914a44b7ea43b315edafdafbf53b218ef /mail/message-list.c
parent9f9805577b127c40c317e72bbfdd1cd8235b5de2 (diff)
downloadgsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.tar.gz
gsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.tar.zst
gsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.zip
include atkutil.h (message_list_construct): cast warning.
2005-03-01 Not Zed <NotZed@Ximian.com> * message-list.c: include atkutil.h (message_list_construct): cast warning. * mail-session.c (mail_session_set_interactive): remove unused variable since we can no longer terminate password requests. * mail-autofilter.c (em_vfolder_rule_from_address): properly define in header. * em-utils.c (emu_get_save_filesel): only define filename in the !gtkfilechooser case. * em-mailer-prefs.c (restore_labels_clicked): cast for warning. (em_mailer_prefs_construct): same. * em-format-html.c (efh_format_header): remove unused variable. * em-account-editor.c (emae_widget_druid_glade): remove unused variable. * importers/mail-importer.h: forward-delcare struct _MailComponent. * *c: remove/disable various debug. svn path=/trunk/; revision=28934
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 12ceb2e089..41ca6ff9f7 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -40,6 +40,7 @@
#include <gtk/gtkmain.h>
#include <gtk/gtkinvisible.h>
#include <libgnome/gnome-i18n.h>
+#include <atk/atkutil.h>
#include <gal/util/e-util.h>
#include <gal/widgets/e-gui-utils.h>
@@ -1529,11 +1530,11 @@ ml_selection_get(GtkWidget *widget, GtkSelectionData *data, guint info, guint ti
if (info & 2) {
/* text/plain */
- printf("setting text/plain selection for uids\n");
+ d(printf("setting text/plain selection for uids\n"));
em_utils_selection_set_mailbox(data, selection->folder, selection->uids);
} else {
/* x-uid-list */
- printf("setting x-uid-list selection for uids\n");
+ d(printf("setting x-uid-list selection for uids\n"));
em_utils_selection_set_uidlist(data, selection->folder_uri, selection->uids);
}
}
@@ -1552,8 +1553,7 @@ static void
ml_selection_received(GtkWidget *widget, GtkSelectionData *data, guint time, MessageList *ml)
{
if (data->target != gdk_atom_intern ("x-uid-list", FALSE)) {
- printf("Unknown selection received by message-list\n");
-
+ d(printf("Unknown selection received by message-list\n"));
return;
}
@@ -1771,12 +1771,12 @@ ml_tree_drag_motion(ETree *tree, GdkDragContext *context, gint x, gint y, guint
for (targets = context->targets; targets; targets = targets->next) {
int i;
- printf("atom drop '%s'\n", gdk_atom_name(targets->data));
+ d(printf("atom drop '%s'\n", gdk_atom_name(targets->data)));
for (i=0;i<sizeof(ml_drag_info)/sizeof(ml_drag_info[0]);i++)
if (targets->data == (void *)ml_drag_info[i].atom)
actions |= ml_drag_info[i].actions;
}
- printf("\n");
+ d(printf("\n"));
actions &= context->actions;
action = context->suggested_action;
@@ -2036,9 +2036,9 @@ message_list_construct (MessageList *message_list)
if (!construct_failed)
e_tree_root_node_set_visible (message_list->tree, FALSE);
- if (atk_get_root () != NULL) {
- a11y = gtk_widget_get_accessible (message_list->tree);
- atk_object_set_name (a11y, _("Message List"));
+ if (atk_get_root() != NULL) {
+ a11y = gtk_widget_get_accessible((GtkWidget *)message_list->tree);
+ atk_object_set_name(a11y, _("Message List"));
}
g_signal_connect((message_list->tree), "cursor_activated",