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:

committed by
Sven Neumann

parent
66bfc6f156
commit
82286a5b54
17
ChangeLog
17
ChangeLog
@ -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!
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user