Commit 63c2e06c authored by Corentin Noël's avatar Corentin Noël Committed by Corentin Noël
Browse files

delete shumate-private.h

It is not very useful.
parent d6599e2b
......@@ -15,7 +15,6 @@ libshumate_reference_ignored_h = [
'shumate-features.h',
'shumate-kinetic-scroll-view.h',
'shumate-marshal.h',
'shumate-private.h',
'shumate-viewport.h',
'shumate.h',
]
......
......@@ -31,7 +31,6 @@ libshumate_public_h = [
libshumate_private_h = [
'shumate-debug.h',
'shumate-private.h',
]
libshumate_sources = [
......
......@@ -26,7 +26,6 @@
#include "shumate-adjustment.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
G_DEFINE_TYPE (ShumateAdjustment, shumate_adjustment, G_TYPE_OBJECT)
......@@ -190,7 +189,7 @@ shumate_adjustment_class_init (ShumateAdjustmentClass *klass)
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_UPPER,
g_param_spec_double ("upper",
......@@ -199,7 +198,7 @@ shumate_adjustment_class_init (ShumateAdjustmentClass *klass)
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_VALUE,
g_param_spec_double ("value",
......@@ -208,7 +207,7 @@ shumate_adjustment_class_init (ShumateAdjustmentClass *klass)
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_STEP_INC,
g_param_spec_double ("step-increment",
......@@ -217,7 +216,7 @@ shumate_adjustment_class_init (ShumateAdjustmentClass *klass)
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
signals[CHANGED] =
g_signal_new ("changed",
......
......@@ -28,7 +28,6 @@
#include "config.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include "shumate-location.h"
enum
......
......@@ -41,7 +41,6 @@
#include "shumate.h"
#include "shumate-defines.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include "shumate-tile.h"
#include <gdk/gdk.h>
......@@ -353,7 +352,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Text",
"The text of the label",
"",
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:image:
......@@ -366,7 +365,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Image",
"The image of the label",
CLUTTER_TYPE_ACTOR,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
*/
/**
......@@ -379,7 +378,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Use Markup",
"The text uses markup",
FALSE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:alignment:
......@@ -392,7 +391,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"The label's alignment",
PANGO_TYPE_ALIGNMENT,
PANGO_ALIGN_LEFT,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:color:
......@@ -404,7 +403,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Color",
"The label's color",
GDK_TYPE_RGBA,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:text-color:
......@@ -416,7 +415,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Text Color",
"The label's text color",
GDK_TYPE_RGBA,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:font-name:
......@@ -428,7 +427,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Font Name",
"The label's text font name",
"Sans 11",
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:wrap:
......@@ -440,7 +439,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Wrap",
"The label's text wrap",
FALSE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:wrap-mode:
......@@ -453,7 +452,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"The label's text wrap mode",
PANGO_TYPE_WRAP_MODE,
PANGO_WRAP_WORD,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:ellipsize:
......@@ -466,7 +465,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"The label's text ellipsize mode",
PANGO_TYPE_ELLIPSIZE_MODE,
PANGO_ELLIPSIZE_NONE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:draw-background:
......@@ -478,7 +477,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Draw Background",
"The label has a background",
TRUE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:draw-shadow:
......@@ -490,7 +489,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Draw Shadow",
"The label background has a shadow",
TRUE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLabel:single-line-mode:
......@@ -502,7 +501,7 @@ shumate_label_class_init (ShumateLabelClass *klass)
"Single Line Mode",
"The label's single line mode",
TRUE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
......
......@@ -29,7 +29,6 @@
#include "shumate-license.h"
#include "shumate-defines.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include "shumate-enum-types.h"
#include "shumate-view.h"
......@@ -226,7 +225,7 @@ shumate_license_class_init (ShumateLicenseClass *klass)
"Additional license",
"Additional license text",
"",
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLicense:alignment:
......@@ -240,7 +239,7 @@ shumate_license_class_init (ShumateLicenseClass *klass)
"The license's alignment",
PANGO_TYPE_ALIGNMENT,
PANGO_ALIGN_LEFT,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
......
......@@ -25,7 +25,6 @@
*/
#include "shumate-location.h"
#include "shumate-private.h"
G_DEFINE_INTERFACE (ShumateLocation, shumate_location, G_TYPE_OBJECT);
......@@ -45,7 +44,7 @@ shumate_location_default_init (ShumateLocationInterface *iface)
-180.0f,
180.0f,
0.0f,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateLocation:latitude:
......@@ -59,7 +58,7 @@ shumate_location_default_init (ShumateLocationInterface *iface)
-90.0f,
90.0f,
0.0f,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
......
......@@ -46,7 +46,6 @@
#include "shumate-enum-types.h"
#include "shumate-map-source.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include "shumate-network-tile-source.h"
#include "shumate-map-source-chain.h"
......
......@@ -32,7 +32,6 @@
#include "shumate-defines.h"
#include "shumate-enum-types.h"
#include "shumate-private.h"
#include "shumate-view.h"
#include <cairo/cairo-gobject.h>
......@@ -147,7 +146,7 @@ shumate_marker_layer_class_init (ShumateMarkerLayerClass *klass)
"Determines the type of selection that will be performed.",
SHUMATE_TYPE_SELECTION_MODE,
SHUMATE_SELECTION_NONE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
......
......@@ -42,7 +42,6 @@
#include "shumate.h"
#include "shumate-defines.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include "shumate-tile.h"
#include <glib.h>
......@@ -338,7 +337,7 @@ shumate_marker_class_init (ShumateMarkerClass *marker_class)
"Selected",
"The sighlighted state of the marker",
FALSE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateMarker:selectable:
......@@ -350,7 +349,7 @@ shumate_marker_class_init (ShumateMarkerClass *marker_class)
"Selectable",
"The draggable state of the marker",
FALSE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateMarker:draggable:
......@@ -362,7 +361,7 @@ shumate_marker_class_init (ShumateMarkerClass *marker_class)
"Draggable",
"The draggable state of the marker",
FALSE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumateMarker::button-press:
......
......@@ -44,7 +44,6 @@
#include "shumate-enum-types.h"
#include "shumate-map-source.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include <errno.h>
#include <gdk/gdk.h>
......
......@@ -36,7 +36,6 @@
#include "shumate-defines.h"
#include "shumate-enum-types.h"
#include "shumate-private.h"
#include "shumate-view.h"
#include <cairo/cairo-gobject.h>
......@@ -294,7 +293,7 @@ shumate_path_layer_class_init (ShumatePathLayerClass *klass)
"Closed Path",
"The Path is Closed",
FALSE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumatePathLayer:fill:
......@@ -307,7 +306,7 @@ shumate_path_layer_class_init (ShumatePathLayerClass *klass)
"Fill",
"The shape is filled",
FALSE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumatePathLayer:stroke:
......@@ -320,7 +319,7 @@ shumate_path_layer_class_init (ShumatePathLayerClass *klass)
"Stroke",
"The shape is stroked",
TRUE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumatePathLayer:stroke-color:
......@@ -361,7 +360,7 @@ shumate_path_layer_class_init (ShumatePathLayerClass *klass)
0,
100.0,
2.0,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ShumatePathLayer:visible:
......@@ -374,7 +373,7 @@ shumate_path_layer_class_init (ShumatePathLayerClass *klass)
"Visible",
"The path's visibility",
TRUE,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
/*
......
......@@ -32,7 +32,6 @@
#include "shumate-defines.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include "shumate-tile.h"
#include <cairo/cairo-gobject.h>
......@@ -203,7 +202,7 @@ shumate_point_class_init (ShumatePointClass *klass)
"Color",
"The point's color",
GDK_TYPE_RGBA,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_SIZE,
g_param_spec_double ("size",
......@@ -212,7 +211,7 @@ shumate_point_class_init (ShumatePointClass *klass)
0,
G_MAXDOUBLE,
12,
SHUMATE_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_SURFACE,
......
/*
* Copyright (C) 2008-2009 Pierre-Luc Beaudoin <pierre-luc@pierlux.com>
* Copyright (C) 2019 Marcus Lundblad <ml@update.uu.se>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SHUMATE_PRIVATE_H
#define SHUMATE_PRIVATE_H
#include <glib.h>
#define SHUMATE_PARAM_READABLE \
(G_PARAM_READABLE | \
G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB)
#define SHUMATE_PARAM_READWRITE \
(G_PARAM_READABLE | G_PARAM_WRITABLE | \
G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB)
#endif
......@@ -29,7 +29,6 @@
#include "shumate-scale.h"
#include "shumate-defines.h"
#include "shumate-marshal.h"
#include "shumate-private.h"
#include "shumate-enum-types.h"
#include "shumate-view.h"
......
......@@ -27,7 +27,6 @@
#include "shumate-tile.h"
#include "shumate-enum-types.h"
#include "shumate-private.h"
#include "shumate-marshal.h"
#include <math.h>
......
......@@ -26,7 +26,6 @@
#include "shumate-view.h"
#include "shumate-viewport.h"
#include "shumate-private.h"
typedef struct {
gdouble x;
......
Supports Markdown
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