aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-info-label.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 23:13:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:23 +0800
commitfad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch)
treeae78be371695c3dc18847b87d3f014f985aa3a40 /widgets/misc/e-info-label.c
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'widgets/misc/e-info-label.c')
-rw-r--r--widgets/misc/e-info-label.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/misc/e-info-label.c b/widgets/misc/e-info-label.c
index e6db111a74..4e158d4117 100644
--- a/widgets/misc/e-info-label.c
+++ b/widgets/misc/e-info-label.c
@@ -54,7 +54,7 @@ el_destroy (GtkObject *o)
static int
el_expose_event(GtkWidget *w, GdkEventExpose *event)
{
- int x = ((GtkContainer *)w)->border_width;
+ gint x = ((GtkContainer *)w)->border_width;
/* This seems a hack to me, but playing with styles wouldn't affect the background */
gtk_paint_flat_box(w->style, w->window,
@@ -71,7 +71,7 @@ get_text_full_width (GtkWidget *label)
{
PangoLayout *layout;
PangoRectangle rect;
- int width;
+ gint width;
g_return_val_if_fail (GTK_IS_LABEL (label), 0);
@@ -93,7 +93,7 @@ el_size_allocate (GtkWidget *widget, GtkAllocation *pallocation)
{
EInfoLabel *el;
GtkAllocation allocation;
- int full_loc, full_nfo;
+ gint full_loc, full_nfo;
gint diff;
/* let calculate parent class first, and then just make it not divide evenly */
@@ -179,7 +179,7 @@ e_info_label_get_type(void)
* Return value:
**/
GtkWidget *
-e_info_label_new(const char *icon)
+e_info_label_new(const gchar *icon)
{
EInfoLabel *el = g_object_new(e_info_label_get_type(), NULL);
GtkWidget *image;
@@ -207,7 +207,7 @@ e_info_label_new(const char *icon)
* @info is some info about this location.
**/
void
-e_info_label_set_info(EInfoLabel *el, const char *location, const char *info)
+e_info_label_set_info(EInfoLabel *el, const gchar *location, const gchar *info)
{
gchar *markup;