summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 15:04:44 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 15:04:44 (EDT)
commitfe1293d4638cad15b56f7df334fbbdf2ef35ae43 (patch)
tree9e9a180d9c2ea7495fffd682c2389563b0df22e1
parent29981c34749e2799b436aba83d1213e66568ab7b (diff)
downloadmarquee-fe1293d4638cad15b56f7df334fbbdf2ef35ae43.zip
marquee-fe1293d4638cad15b56f7df334fbbdf2ef35ae43.tar.gz
marquee-fe1293d4638cad15b56f7df334fbbdf2ef35ae43.tar.bz2
MqFindToolbar: Move static method definitions
-rw-r--r--src/find-toolbar.c76
1 files changed, 38 insertions, 38 deletions
diff --git a/src/find-toolbar.c b/src/find-toolbar.c
index 1a875b9..b011d92 100644
--- a/src/find-toolbar.c
+++ b/src/find-toolbar.c
@@ -50,44 +50,6 @@ struct _MqFindToolbarClass {
G_DEFINE_TYPE(MqFindToolbar, mq_find_toolbar, GTK_TYPE_REVEALER)
static void
-get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
-{
- MqFindToolbar *find_toolbar;
-
- find_toolbar = MQ_FIND_TOOLBAR(object);
-
- switch (property_id) {
- case PROP_WEB_VIEW:
- g_value_set_object(value, find_toolbar->web_view);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
- break;
- }
-}
-
-static void
-set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
-{
- MqFindToolbar *find_toolbar;
-
- find_toolbar = MQ_FIND_TOOLBAR(object);
-
- switch (property_id) {
- case PROP_WEB_VIEW:
- find_toolbar->web_view = g_value_get_object(value);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
- break;
- }
-}
-
-static void
search(MqFindToolbar *find_toolbar, gboolean forward)
{
guint32 find_options;
@@ -245,6 +207,44 @@ dispose(GObject *object)
}
static void
+get_property(GObject *object, guint property_id, GValue *value,
+ GParamSpec *pspec)
+{
+ MqFindToolbar *find_toolbar;
+
+ find_toolbar = MQ_FIND_TOOLBAR(object);
+
+ switch (property_id) {
+ case PROP_WEB_VIEW:
+ g_value_set_object(value, find_toolbar->web_view);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
+ pspec);
+ break;
+ }
+}
+
+static void
+set_property(GObject *object, guint property_id, const GValue *value,
+ GParamSpec *pspec)
+{
+ MqFindToolbar *find_toolbar;
+
+ find_toolbar = MQ_FIND_TOOLBAR(object);
+
+ switch (property_id) {
+ case PROP_WEB_VIEW:
+ find_toolbar->web_view = g_value_get_object(value);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
+ pspec);
+ break;
+ }
+}
+
+static void
mq_find_toolbar_class_init(MqFindToolbarClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS(klass);