Commit c3c42962 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

made device_status_update() static as declared.

2001-11-22  Michael Natterer  <mitch@gimp.org>

	* app/devices.c: made device_status_update() static as declared.

	* app/core/gimpobject.h: don't include <gobject/gobject.h> as this
	is forbidden now (doesn't hurt as we need to include glib or gtk+
	before gimp headers in .c files anyway).

	* app/widgets/gimpcontainerlistview.c: better handling of
	"button_press" of list items: don't let a selected item being
	deselected, fixed context menu popup.
parent ab438bf6
2001-11-22 Michael Natterer <mitch@gimp.org>
* app/devices.c: made device_status_update() static as declared.
* app/core/gimpobject.h: don't include <gobject/gobject.h> as this
is forbidden now (doesn't hurt as we need to include glib or gtk+
before gimp headers in .c files anyway).
* app/widgets/gimpcontainerlistview.c: better handling of
"button_press" of list items: don't let a selected item being
deselected, fixed context menu popup.
2001-11-22 Michael Natterer <mitch@gimp.org>
* app/tools/gimpclonetool.c
......
......@@ -20,9 +20,6 @@
#define __GIMP_OBJECT_H__
#include <gobject/gobject.h>
#define GIMP_TYPE_OBJECT (gimp_object_get_type ())
#define GIMP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_OBJECT, GimpObject))
#define GIMP_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_OBJECT, GimpObjectClass))
......
......@@ -1008,7 +1008,7 @@ device_status_update_current (void)
}
}
void
static void
device_status_update (GdkDevice *device)
{
DeviceInfo *device_info;
......
......@@ -1008,7 +1008,7 @@ device_status_update_current (void)
}
}
void
static void
device_status_update (GdkDevice *device)
{
DeviceInfo *device_info;
......
......@@ -1008,7 +1008,7 @@ device_status_update_current (void)
}
}
void
static void
device_status_update (GdkDevice *device)
{
DeviceInfo *device_info;
......
......@@ -413,8 +413,16 @@ gimp_container_list_view_item_activated (GtkWidget *widget,
{
case 1:
if (bevent->type == GDK_2BUTTON_PRESS)
gimp_container_view_item_activated (GIMP_CONTAINER_VIEW (data),
viewable);
{
gimp_container_view_item_activated (GIMP_CONTAINER_VIEW (data),
viewable);
return TRUE;
}
else if (widget->state == GTK_STATE_SELECTED)
{
return TRUE;
}
break;
case 3:
......@@ -422,7 +430,7 @@ gimp_container_list_view_item_activated (GtkWidget *widget,
viewable);
gimp_container_view_item_context (GIMP_CONTAINER_VIEW (data),
viewable);
break;
return TRUE;
}
return FALSE;
......
......@@ -1008,7 +1008,7 @@ device_status_update_current (void)
}
}
void
static void
device_status_update (GdkDevice *device)
{
DeviceInfo *device_info;
......
......@@ -1008,7 +1008,7 @@ device_status_update_current (void)
}
}
void
static void
device_status_update (GdkDevice *device)
{
DeviceInfo *device_info;
......
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