diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-06 16:17:14 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-06 16:17:14 +0800 |
commit | d73b3bb496a3738d12442386231f3b2fa18967a6 (patch) | |
tree | 19e3144a5bd31fa137eabf81d575f1a5503d7448 /addressbook/gui/widgets/e-minicard-label.c | |
parent | 4e57b96f83fb8d0f79b10d1b219062973a095e56 (diff) | |
download | gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.gz gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.bz2 gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.lz gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.xz gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.zst gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.zip |
Port to GObject/gnome2.
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2.
* gui/widgets/e-addressbook-reflow-adapter.c: Port to
GObject/gnome2.
* gui/widgets/e-addressbook-table-adapter.c: Port to
GObject/gnome2.
* gui/widgets/e-addressbook-util.c: Port to GObject/gnome2.
* gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-control.c: Port to GObject/gnome2.
* gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2.
* gui/widgets/e-minicard-widget.c: Port to GObject/gnome2.
* gui/widgets/e-minicard.[ch]: Port to GObject/gnome2.
* gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2.
* gui/widgets/gal-view-minicard.c: Port to GObject/gnome2.
* gui/widgets/test-minicard-label.c: Port to GObject/gnome2.
* gui/widgets/test-minicard-view.c: Port to GObject/gnome2.
* gui/widgets/test-minicard.c: Port to GObject/gnome2.
* gui/widgets/test-reflow.c: Port to GObject/gnome2.
* gui/widgets/Makefile.am: typical port stuff. add marshaller
generation foo, dist it...
* gui/widgets/.cvsignore: ignore the marshaller stuff.
svn path=/trunk/; revision=18588
Diffstat (limited to 'addressbook/gui/widgets/e-minicard-label.c')
-rw-r--r-- | addressbook/gui/widgets/e-minicard-label.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/e-minicard-label.c b/addressbook/gui/widgets/e-minicard-label.c index b59ff46ae3..1dbbe22dad 100644 --- a/addressbook/gui/widgets/e-minicard-label.c +++ b/addressbook/gui/widgets/e-minicard-label.c @@ -24,7 +24,7 @@ #include "e-minicard-label.h" #include <gtk/gtksignal.h> -#include <libgnomeui/gnome-canvas-rect-ellipse.h> +#include <libgnomecanvas/gnome-canvas-rect-ellipse.h> #include <gal/util/e-util.h> #include <gal/e-text/e-text.h> #include <gal/widgets/e-canvas.h> @@ -167,7 +167,7 @@ e_minicard_label_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) break; case ARG_EDITABLE: e_minicard_label->editable = GTK_VALUE_BOOL (*arg); - gtk_object_set (GTK_OBJECT (e_minicard_label->field), "editable", e_minicard_label->editable, NULL); + g_object_set (e_minicard_label->field, "editable", e_minicard_label->editable, NULL); break; } } @@ -235,7 +235,7 @@ e_minicard_label_construct (GnomeCanvasItem *item) GnomeCanvasGroup *group; GdkFont *font; - font = ((GtkWidget *) item->canvas)->style->font; + font = gtk_style_get_font (gtk_widget_get_style (GTK_WIDGET (item->canvas))); e_minicard_label = E_MINICARD_LABEL (item); group = GNOME_CANVAS_GROUP( item ); @@ -387,7 +387,7 @@ e_minicard_label_event (GnomeCanvasItem *item, GdkEvent *event) break; } #endif - gtk_signal_emit_by_name(GTK_OBJECT(e_minicard_label->field), "event", event, &return_val); + g_signal_emit_by_name(e_minicard_label->field, "event", event, &return_val); return return_val; break; } |