Commit 98f9812e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

fixed typo.

2001-07-25  Sven Neumann  <sven@gimp.org>

	* app/devices.c: fixed typo.

	* app/gdisplay.c
	* app/undo_history.c
	* app/user_install.c
	* app/gui/about-dialog.c
	* app/gui/color-area.c
	* app/gui/gradient-editor.c
	* app/gui/gui.c
	* app/gui/paths-dialog.c
	* app/gui/splash.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpinktool.c
	* app/tools/gimptexttool.c:
	s/gdk_[bit|pix]map_unref/gdk_drawable_unref/

	* app/xcf/xcf-load.c: use GObject functions

	* plug-ins/common/animationplay.c: include GDK backend specific
	headers
parent b3a0161f
2001-07-25 Sven Neumann <sven@gimp.org>
* app/devices.c: fixed typo.
* app/gdisplay.c
* app/undo_history.c
* app/user_install.c
* app/gui/about-dialog.c
* app/gui/color-area.c
* app/gui/gradient-editor.c
* app/gui/gui.c
* app/gui/paths-dialog.c
* app/gui/splash.c
* app/tools/gimpcurvestool.c
* app/tools/gimpinktool.c
* app/tools/gimptexttool.c:
s/gdk_[bit|pix]map_unref/gdk_drawable_unref/
* app/xcf/xcf-load.c: use GObject functions
* plug-ins/common/animationplay.c: include GDK backend specific
headers
2001-07-25 Sven Neumann <sven@gimp.org>
* configure.in: only build X11 specific plug-ins and tools if
......
......@@ -624,7 +624,7 @@ curves_free (void)
}
if (curves_dialog->pixmap)
gdk_pixmap_unref (curves_dialog->pixmap);
gdk_drawable_unref (curves_dialog->pixmap);
gtk_widget_destroy (curves_dialog->shell);
}
......
......@@ -479,8 +479,8 @@ gdisplay_delete (GDisplay *gdisp)
if (gdisp->icon_idle_id)
g_source_remove (gdisp->icon_idle_id);
gdk_pixmap_unref (gdisp->icon);
gdk_pixmap_unref (gdisp->iconmask);
gdk_drawable_unref (gdisp->icon);
gdk_drawable_unref (gdisp->iconmask);
gtk_widget_unref (gdisp->shell);
......
......@@ -283,7 +283,7 @@ devices_init (void)
device_info->num_axes = device->num_axes;
device_info->axes = NULL;
device_info->num_keys = device->num_axes;
device_info->num_keys = device->num_keys;
device_info->keys = NULL;
device_info->context = gimp_create_context (the_gimp,
......
......@@ -600,8 +600,8 @@ about_dialog_tool_drop (GtkWidget *widget,
gdk_gc_set_clip_origin (logo_area->style->black_gc, 0, 0);
}
gdk_pixmap_unref (pixmap);
gdk_bitmap_unref (mask);
gdk_drawable_unref (pixmap);
gdk_drawable_unref (mask);
scroll_text = drop_text;
nscroll_texts = sizeof (drop_text) / sizeof (drop_text[0]);
......
......@@ -815,10 +815,10 @@ user_install_dialog_create (Gimp *gimp)
gtk_widget_set_usize (ctree, -1, ctree->requisition.height);
gdk_pixmap_unref (file_pixmap);
gdk_bitmap_unref (file_mask);
gdk_pixmap_unref (folder_pixmap);
gdk_bitmap_unref (folder_mask);
gdk_drawable_unref (file_pixmap);
gdk_drawable_unref (file_mask);
gdk_drawable_unref (folder_pixmap);
gdk_drawable_unref (folder_mask);
}
/* Page 3 */
......
......@@ -479,8 +479,8 @@ gdisplay_delete (GDisplay *gdisp)
if (gdisp->icon_idle_id)
g_source_remove (gdisp->icon_idle_id);
gdk_pixmap_unref (gdisp->icon);
gdk_pixmap_unref (gdisp->iconmask);
gdk_drawable_unref (gdisp->icon);
gdk_drawable_unref (gdisp->iconmask);
gtk_widget_unref (gdisp->shell);
......
......@@ -479,8 +479,8 @@ gdisplay_delete (GDisplay *gdisp)
if (gdisp->icon_idle_id)
g_source_remove (gdisp->icon_idle_id);
gdk_pixmap_unref (gdisp->icon);
gdk_pixmap_unref (gdisp->iconmask);
gdk_drawable_unref (gdisp->icon);
gdk_drawable_unref (gdisp->iconmask);
gtk_widget_unref (gdisp->shell);
......
......@@ -600,8 +600,8 @@ about_dialog_tool_drop (GtkWidget *widget,
gdk_gc_set_clip_origin (logo_area->style->black_gc, 0, 0);
}
gdk_pixmap_unref (pixmap);
gdk_bitmap_unref (mask);
gdk_drawable_unref (pixmap);
gdk_drawable_unref (mask);
scroll_text = drop_text;
nscroll_texts = sizeof (drop_text) / sizeof (drop_text[0]);
......
......@@ -374,8 +374,8 @@ color_area_events (GtkWidget *widget,
case GDK_CONFIGURE:
if (color_area_pixmap)
{
gdk_pixmap_unref (color_area_pixmap);
gdk_bitmap_unref (color_area_mask);
gdk_drawable_unref (color_area_pixmap);
gdk_drawable_unref (color_area_mask);
}
color_area_pixmap = gdk_pixmap_new (widget->window,
......
......@@ -283,7 +283,7 @@ devices_init (void)
device_info->num_axes = device->num_axes;
device_info->axes = NULL;
device_info->num_keys = device->num_axes;
device_info->num_keys = device->num_keys;
device_info->keys = NULL;
device_info->context = gimp_create_context (the_gimp,
......
......@@ -2160,7 +2160,7 @@ control_update (GradientEditor *gradient_editor,
(cheight != pheight))
{
if (gradient_editor->control_pixmap)
gdk_pixmap_unref (gradient_editor->control_pixmap);
gdk_drawable_unref (gradient_editor->control_pixmap);
gradient_editor->control_pixmap =
gdk_pixmap_new (gradient_editor->control->window, cwidth, cheight, -1);
......
......@@ -413,8 +413,8 @@ gui_rotate_the_shield_harmonics (GtkWidget *widget,
gdk_gc_set_clip_origin (widget->style->black_gc, 0, 0);
}
gdk_pixmap_unref (pixmap);
gdk_bitmap_unref (mask);
gdk_drawable_unref (pixmap);
gdk_drawable_unref (mask);
return FALSE;
}
......
......@@ -283,7 +283,7 @@ devices_init (void)
device_info->num_axes = device->num_axes;
device_info->axes = NULL;
device_info->num_keys = device->num_axes;
device_info->num_keys = device->num_keys;
device_info->keys = NULL;
device_info->context = gimp_create_context (the_gimp,
......
......@@ -399,7 +399,7 @@ clear_pathwidget (gpointer data)
if (pwidget)
{
if (pwidget->paths_pixmap)
gdk_pixmap_unref (pwidget->paths_pixmap);
gdk_drawable_unref (pwidget->paths_pixmap);
g_free (pwidget);
}
......
......@@ -150,7 +150,7 @@ splash_destroy (void)
{
gtk_widget_destroy (win_initstatus);
if (logo_pixmap != NULL)
gdk_pixmap_unref (logo_pixmap);
gdk_drawable_unref (logo_pixmap);
win_initstatus = label1 = label2 = pbar = logo_area = NULL;
logo_pixmap = NULL;
......
......@@ -815,10 +815,10 @@ user_install_dialog_create (Gimp *gimp)
gtk_widget_set_usize (ctree, -1, ctree->requisition.height);
gdk_pixmap_unref (file_pixmap);
gdk_bitmap_unref (file_mask);
gdk_pixmap_unref (folder_pixmap);
gdk_bitmap_unref (folder_mask);
gdk_drawable_unref (file_pixmap);
gdk_drawable_unref (file_mask);
gdk_drawable_unref (folder_pixmap);
gdk_drawable_unref (folder_mask);
}
/* Page 3 */
......
......@@ -519,7 +519,7 @@ ink_options_new (void)
blob_ellipse);
pixmap_widget = gtk_pixmap_new (pixmap, NULL);
gdk_pixmap_unref (pixmap);
gdk_drawable_unref (pixmap);
gtk_misc_set_padding (GTK_MISC (pixmap_widget), 6, 0);
radio_button = gtk_radio_button_new (NULL);
......@@ -538,7 +538,7 @@ ink_options_new (void)
blob_square);
pixmap_widget = gtk_pixmap_new (pixmap, NULL);
gdk_pixmap_unref (pixmap);
gdk_drawable_unref (pixmap);
gtk_misc_set_padding (GTK_MISC (pixmap_widget), 6, 0);
radio_button =
......@@ -558,7 +558,7 @@ ink_options_new (void)
blob_diamond);
pixmap_widget = gtk_pixmap_new (pixmap, NULL);
gdk_pixmap_unref (pixmap);
gdk_drawable_unref (pixmap);
gtk_misc_set_padding (GTK_MISC (pixmap_widget), 6, 0);
radio_button =
......
......@@ -624,7 +624,7 @@ curves_free (void)
}
if (curves_dialog->pixmap)
gdk_pixmap_unref (curves_dialog->pixmap);
gdk_drawable_unref (curves_dialog->pixmap);
gtk_widget_destroy (curves_dialog->shell);
}
......
......@@ -519,7 +519,7 @@ ink_options_new (void)
blob_ellipse);
pixmap_widget = gtk_pixmap_new (pixmap, NULL);
gdk_pixmap_unref (pixmap);
gdk_drawable_unref (pixmap);
gtk_misc_set_padding (GTK_MISC (pixmap_widget), 6, 0);
radio_button = gtk_radio_button_new (NULL);
......@@ -538,7 +538,7 @@ ink_options_new (void)
blob_square);
pixmap_widget = gtk_pixmap_new (pixmap, NULL);
gdk_pixmap_unref (pixmap);
gdk_drawable_unref (pixmap);
gtk_misc_set_padding (GTK_MISC (pixmap_widget), 6, 0);
radio_button =
......@@ -558,7 +558,7 @@ ink_options_new (void)
blob_diamond);
pixmap_widget = gtk_pixmap_new (pixmap, NULL);
gdk_pixmap_unref (pixmap);
gdk_drawable_unref (pixmap);
gtk_misc_set_padding (GTK_MISC (pixmap_widget), 6, 0);
radio_button =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment