diff options
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index 0fbcfb43ee..26282356fc 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -86,7 +86,7 @@ static gint mts_signals [LAST_SIGNAL] = { 0 }; static void e_meeting_time_selector_destroy (GtkObject *object); static void e_meeting_time_selector_alloc_named_color (EMeetingTimeSelector * mts, - const char *name, GdkColor *c); + const gchar *name, GdkColor *c); static void e_meeting_time_selector_add_key_color (EMeetingTimeSelector * mts, GtkWidget *hbox, gchar *label_text, @@ -655,7 +655,7 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em e_meeting_time_selector_alloc_named_color (mts, "orange4", &mts->busy_colors[E_MEETING_FREE_BUSY_OUT_OF_OFFICE]); /* Create the stipple, for attendees with no data. */ - mts->stipple = gdk_bitmap_create_from_data (NULL, (gchar*)stipple_bits, + mts->stipple = gdk_bitmap_create_from_data (NULL, (gchar *)stipple_bits, 8, 8); /* Connect handlers to the adjustments scroll the other items. */ @@ -742,7 +742,7 @@ e_meeting_time_selector_expose_key_color (GtkWidget *darea, static void e_meeting_time_selector_alloc_named_color (EMeetingTimeSelector * mts, - const char *name, GdkColor *c) + const gchar *name, GdkColor *c) { GdkColormap *colormap; @@ -875,7 +875,7 @@ static int get_cell_height (GtkTreeView *tree) { GtkTreeViewColumn *column; - int height = -1; + gint height = -1; column = gtk_tree_view_get_column (tree, 0); gtk_tree_view_column_cell_get_size (column, NULL, @@ -890,7 +890,7 @@ style_change_idle_func (gpointer widget) { EMeetingTimeSelector *mts; EMeetingTime saved_time; - int hour, max_hour_width; + gint hour, max_hour_width; /*int maxheight; */ PangoFontDescription *font_desc; PangoContext *pango_context; @@ -1233,7 +1233,7 @@ e_meeting_time_selector_refresh_cb (gpointer data) } void -e_meeting_time_selector_refresh_free_busy (EMeetingTimeSelector *mts, int row, gboolean all) +e_meeting_time_selector_refresh_free_busy (EMeetingTimeSelector *mts, gint row, gboolean all) { EMeetingTime start, end; @@ -1257,7 +1257,7 @@ e_meeting_time_selector_refresh_free_busy (EMeetingTimeSelector *mts, int row, g /* FIXME We should really have a mechanism to unqueue the * notification */ if (all) { - int i; + gint i; for (i = 0; i < e_meeting_store_count_actual_attendees (mts->model); i++) g_object_ref (GTK_OBJECT (mts)); @@ -1394,7 +1394,7 @@ e_meeting_time_selector_dump (EMeetingTimeSelector *mts) /* This formats a EMeetingTimein a string and returns it. Note that it uses a static buffer. */ -gchar* +gchar * e_meeting_time_selector_dump_time (EMeetingTime*mtstime) { static gchar buffer[128]; @@ -1414,7 +1414,7 @@ e_meeting_time_selector_dump_time (EMeetingTime*mtstime) /* This formats a GDate in a string and returns it. Note that it uses a static buffer. */ -gchar* +gchar * e_meeting_time_selector_dump_date (GDate *date) { static gchar buffer[128]; @@ -2067,7 +2067,7 @@ e_meeting_time_selector_recalc_date_format (EMeetingTimeSelector *mts) { /* An array of dates, one for each month in the year 2000. They must all be Sundays. */ - static const int days[12] = { 23, 20, 19, 23, 21, 18, + static const gint days[12] = { 23, 20, 19, 23, 21, 18, 23, 20, 17, 22, 19, 24 }; GDate date; gint max_date_width, longest_weekday_width, longest_month_width, width; @@ -2880,7 +2880,7 @@ static void row_inserted_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data) { EMeetingTimeSelector *mts = E_MEETING_TIME_SELECTOR (data); - int row = gtk_tree_path_get_indices (path) [0]; + gint row = gtk_tree_path_get_indices (path) [0]; /* Update the scroll region. */ e_meeting_time_selector_update_main_canvas_scroll_region (mts); @@ -2896,7 +2896,7 @@ static void row_changed_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data) { EMeetingTimeSelector *mts = E_MEETING_TIME_SELECTOR (data); - int row = gtk_tree_path_get_indices (path) [0]; + gint row = gtk_tree_path_get_indices (path) [0]; /* Get the latest free/busy info */ e_meeting_time_selector_refresh_free_busy (mts, row, FALSE); @@ -2921,7 +2921,7 @@ row_deleted_cb (GtkTreeModel *model, GtkTreePath *path, gpointer data) static gboolean free_busy_timeout_refresh (gpointer data) { - char *fb_uri; + gchar *fb_uri; EMeetingTimeSelector *mts = E_MEETING_TIME_SELECTOR (data); |