app/widgets/gimpbrushfactoryview.c app/widgets/gimpbufferview.c

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

	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcolorpanel.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainermenuimpl.c
	* libgimpwidgets/gimpcolorbutton.c
	* libgimpwidgets/gimpoffsetarea.c
	* plug-ins/gdyntext/charmap.c
	* plug-ins/gdyntext/charmap_window.c
	* plug-ins/gdyntext/font_selection.c
	* plug-ins/gdyntext/message_window.c:
	use GtkType instead of guint to store result of gtk_type_unique().
	Patch courtesy of Alex Larsson <alexl@redhat.com>.
This commit is contained in:
Sven Neumann
2001-09-07 09:16:28 +00:00
committed by Sven Neumann
parent 66bfc6f156
commit 82286a5b54
14 changed files with 34 additions and 17 deletions

View File

@ -1,3 +1,20 @@
2001-09-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimpbrushfactoryview.c
* app/widgets/gimpbufferview.c
* app/widgets/gimpchannellistview.c
* app/widgets/gimpcolorpanel.c
* app/widgets/gimpcontainergridview.c
* app/widgets/gimpcontainermenuimpl.c
* libgimpwidgets/gimpcolorbutton.c
* libgimpwidgets/gimpoffsetarea.c
* plug-ins/gdyntext/charmap.c
* plug-ins/gdyntext/charmap_window.c
* plug-ins/gdyntext/font_selection.c
* plug-ins/gdyntext/message_window.c:
use GtkType instead of guint to store result of gtk_type_unique().
Patch courtesy of Alex Larsson <alexl@redhat.com>.
2001-09-04 Michael Natterer <mitch@gimp.org>
* plug-ins/common/jpeg.c: JPEG is back!

View File

@ -60,7 +60,7 @@ static GimpDataFactoryViewClass *parent_class = NULL;
GtkType
gimp_brush_factory_view_get_type (void)
{
static guint view_type = 0;
static GtkType view_type = 0;
if (! view_type)
{

View File

@ -67,7 +67,7 @@ static GimpContainerEditorClass *parent_class = NULL;
GtkType
gimp_buffer_view_get_type (void)
{
static guint view_type = 0;
static GtkType view_type = 0;
if (! view_type)
{

View File

@ -89,7 +89,7 @@ static GimpDrawableListViewClass *parent_class = NULL;
GtkType
gimp_channel_list_view_get_type (void)
{
static guint view_type = 0;
static GtkType view_type = 0;
if (! view_type)
{

View File

@ -89,7 +89,7 @@ static GimpDrawableListViewClass *parent_class = NULL;
GtkType
gimp_channel_list_view_get_type (void)
{
static guint view_type = 0;
static GtkType view_type = 0;
if (! view_type)
{

View File

@ -58,7 +58,7 @@ static GimpColorButtonClass *parent_class = NULL;
GtkType
gimp_color_panel_get_type (void)
{
static guint panel_type = 0;
static GtkType panel_type = 0;
if (!panel_type)
{

View File

@ -80,7 +80,7 @@ static GimpRGB black_color;
GtkType
gimp_container_grid_view_get_type (void)
{
static guint grid_view_type = 0;
static GtkType grid_view_type = 0;
if (! grid_view_type)
{

View File

@ -68,7 +68,7 @@ static GimpContainerMenuClass *parent_class = NULL;
GtkType
gimp_container_menu_impl_get_type (void)
{
static guint menu_impl_type = 0;
static GtkType menu_impl_type = 0;
if (! menu_impl_type)
{

View File

@ -178,7 +178,7 @@ gimp_color_button_init (GimpColorButton *gcb)
GtkType
gimp_color_button_get_type (void)
{
static guint gcb_type = 0;
static GtkType gcb_type = 0;
if (!gcb_type)
{

View File

@ -108,7 +108,7 @@ gimp_offset_area_init (GimpOffsetArea *offset_area)
GtkType
gimp_offset_area_get_type (void)
{
static guint offset_area_type = 0;
static GtkType offset_area_type = 0;
if (!offset_area_type)
{

View File

@ -44,9 +44,9 @@ enum {
static gint charmap_signals[LAST_SIGNAL] = { 0 };
guint charmap_get_type(void)
GtkType charmap_get_type(void)
{
static guint cm_type = 0;
static GtkType cm_type = 0;
if (!cm_type) {
GtkTypeInfo cm_info = {

View File

@ -39,9 +39,9 @@ void on_charmap_char_selected(GtkWidget *widget, gpointer data);
static GtkWindowClass *charmap_window_parent_class = NULL;
guint charmap_window_get_type(void)
GtkType charmap_window_get_type(void)
{
static guint cmw_type = 0;
static GtkType cmw_type = 0;
if (!cmw_type) {
GtkTypeInfo cmw_info = {

View File

@ -54,9 +54,9 @@ enum {
static gint font_selection_signals[LAST_SIGNAL] = { 0 };
guint font_selection_get_type(void)
GtkType font_selection_get_type(void)
{
static guint fs_type = 0;
static GtkType fs_type = 0;
if (!fs_type) {
GtkTypeInfo fs_info = {

View File

@ -39,10 +39,10 @@ static void message_window_init (MessageWindow *mw);
static GtkWindowClass *message_window_parent_class = NULL;
guint
GtkType
message_window_get_type (void)
{
static guint mw_type = 0;
static GtkType mw_type = 0;
if (!mw_type)
{