mirror of https://github.com/GNOME/gimp.git
plug-ins/imagemap/imap_preview.c undeprecated.
2004-11-29 Sven Neumann <sven@gimp.org> * plug-ins/imagemap/imap_preview.c * plug-ins/imagemap/imap_selection.c: undeprecated.
This commit is contained in:
parent
09c629018d
commit
0746fafc09
|
@ -1,3 +1,8 @@
|
|||
2004-11-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/imagemap/imap_preview.c
|
||||
* plug-ins/imagemap/imap_selection.c: undeprecated.
|
||||
|
||||
2004-11-28 DindinX <dindinx@gimp.org>
|
||||
|
||||
* plug-ins/gfig/gfig-dobject.c: copy the style of the object when
|
||||
|
|
|
@ -23,11 +23,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimp/gimp.h"
|
||||
|
@ -66,7 +61,7 @@
|
|||
static Preview_t*
|
||||
preview_user_data(GtkWidget *preview)
|
||||
{
|
||||
return (Preview_t*) gtk_object_get_user_data(GTK_OBJECT(preview));
|
||||
return (Preview_t*) g_object_get_data (G_OBJECT (preview), "preview");
|
||||
}
|
||||
|
||||
gint
|
||||
|
@ -420,7 +415,7 @@ make_preview(GimpDrawable *drawable)
|
|||
data->drawable = drawable;
|
||||
data->preview = preview = gimp_preview_area_new ();
|
||||
|
||||
gtk_object_set_user_data(GTK_OBJECT(preview), data);
|
||||
g_object_set_data (G_OBJECT (preview), "preview", data);
|
||||
gtk_widget_set_events(GTK_WIDGET(preview), PREVIEW_MASK);
|
||||
g_signal_connect_after(preview, "expose_event",
|
||||
G_CALLBACK(preview_expose), data);
|
||||
|
|
|
@ -25,11 +25,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning GTK_DISABLE_DEPRECATED
|
||||
#endif
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimpwidgets/gimpwidgets.h"
|
||||
|
|
Loading…
Reference in New Issue