diff options
author | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:48:14 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:48:14 +0800 |
commit | 675a9d147ab100372a7026688cbafc4665498c8b (patch) | |
tree | 4a923646ba9e5cb868630d100a8e92e4f062e6a5 /addressbook/gui/widgets/e-minicard.c | |
parent | 9a08dd45d329cf425f15a3ccc63463a9b489340f (diff) | |
download | gsoc2013-evolution-675a9d147ab100372a7026688cbafc4665498c8b.tar gsoc2013-evolution-675a9d147ab100372a7026688cbafc4665498c8b.tar.gz gsoc2013-evolution-675a9d147ab100372a7026688cbafc4665498c8b.tar.bz2 gsoc2013-evolution-675a9d147ab100372a7026688cbafc4665498c8b.tar.lz gsoc2013-evolution-675a9d147ab100372a7026688cbafc4665498c8b.tar.xz gsoc2013-evolution-675a9d147ab100372a7026688cbafc4665498c8b.tar.zst gsoc2013-evolution-675a9d147ab100372a7026688cbafc4665498c8b.zip |
Remove cruft. (gladedir, etspecdir): Remove definitions. (glade_DATA):
* gui/widgets/Makefile.am (INCLUDES): Remove cruft.
(gladedir, etspecdir): Remove definitions.
(glade_DATA): Empty, so remove it.
* gui/widgets/e-addressbook-reflow-adapter.c: #include <string.h>
(addressbook_get_property): Remove unused variable
* gui/widgets/e-addressbook-view.c: #include <string.h>
(get_selection_model): Add a g_return_val_if_reached.
* gui/widgets/e-minicard.c: #include string.h, gtkmain.h,
gnome-canvas-pixbuf.h
(field_changed): s/gtk_object_unref/g_object_unref/
(get_left_width): Remove unused variable
* gui/widgets/e-minicard-control.c: #include <string.h>
(pstream_load, pstream_save): Use g_ascii_strcasecmp
* gui/widgets/e-minicard-view.c: #include <string.h>
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_new): s/gtk_type_new/g_object_new/
svn path=/trunk/; revision=19784
Diffstat (limited to 'addressbook/gui/widgets/e-minicard.c')
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index dc679aad55..9e02491d4b 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -20,11 +20,14 @@ */ #include <config.h> +#include <string.h> #include <glib.h> #include <gtk/gtkdnd.h> +#include <gtk/gtkmain.h> #include <gdk/gdkkeysyms.h> #include <libgnome/gnome-i18n.h> #include <libgnomecanvas/gnome-canvas-rect-ellipse.h> +#include <libgnomecanvas/gnome-canvas-pixbuf.h> #include <gal/e-text/e-text.h> #include <gal/util/e-util.h> #include <gal/widgets/e-canvas-utils.h> @@ -761,7 +764,7 @@ field_changed (EText *text, EMinicard *e_minicard) new_string = e_destination_export(dest); g_free(string); string=new_string; - gtk_object_unref (GTK_OBJECT (dest)); + g_object_unref (dest); } } } @@ -842,7 +845,6 @@ get_left_width(EMinicard *e_minicard) gchar *name; ECardSimpleField field; int width = -1; - GdkFont *font; PangoLayout *layout; layout = gtk_widget_create_pango_layout (GTK_WIDGET (GNOME_CANVAS_ITEM (e_minicard)->canvas), ""); |