[gimp] app: derive GimpIconSizeScale from GimpFrame not GtkFrame
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: derive GimpIconSizeScale from GimpFrame not GtkFrame
- Date: Sun, 12 Mar 2017 21:34:07 +0000 (UTC)
commit 9921d4c06c9c3c31008fc61d58d7b92a08c8ad53
Author: Michael Natterer <mitch gimp org>
Date: Sun Mar 12 22:33:35 2017 +0100
app: derive GimpIconSizeScale from GimpFrame not GtkFrame
app/widgets/gimpiconsizescale.c | 11 ++++++++---
app/widgets/gimpiconsizescale.h | 4 ++--
2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/app/widgets/gimpiconsizescale.c b/app/widgets/gimpiconsizescale.c
index 4bdd4f0..ad9f4e6 100644
--- a/app/widgets/gimpiconsizescale.c
+++ b/app/widgets/gimpiconsizescale.c
@@ -20,11 +20,13 @@
#include "config.h"
+#include <gegl.h>
#include <gtk/gtk.h>
-#include "widgets-types.h"
-
#include "libgimpconfig/gimpconfig.h"
+#include "libgimpwidgets/gimpwidgets.h"
+
+#include "widgets-types.h"
#include "config/gimpguiconfig.h"
@@ -34,6 +36,7 @@
#include "gimp-intl.h"
+
enum
{
PROP_0,
@@ -86,10 +89,12 @@ static gboolean gimp_icon_size_scale_change_value (GtkRange *range,
gdouble value,
GimpGuiConfig *config);
-G_DEFINE_TYPE (GimpIconSizeScale, gimp_icon_size_scale, GTK_TYPE_FRAME)
+
+G_DEFINE_TYPE (GimpIconSizeScale, gimp_icon_size_scale, GIMP_TYPE_FRAME)
#define parent_class gimp_icon_size_scale_parent_class
+
static void
gimp_icon_size_scale_class_init (GimpIconSizeScaleClass *klass)
{
diff --git a/app/widgets/gimpiconsizescale.h b/app/widgets/gimpiconsizescale.h
index 8db1ffd..70e3243 100644
--- a/app/widgets/gimpiconsizescale.h
+++ b/app/widgets/gimpiconsizescale.h
@@ -34,12 +34,12 @@ typedef struct _GimpIconSizeScaleClass GimpIconSizeScaleClass;
struct _GimpIconSizeScale
{
- GtkFrame parent_instance;
+ GimpFrame parent_instance;
};
struct _GimpIconSizeScaleClass
{
- GtkFrameClass parent_class;
+ GimpFrameClass parent_class;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]