summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-13 13:34:26 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-13 13:34:26 (EDT)
commit48c592fa38d2d4e13e201cbb68eeb4c0781326f2 (patch)
treee38efef878728da4c2811e7f859ab1be42e2039b /src
parente55e0fa7f4387add6f211c046aeee5da8433a71a (diff)
downloadmarquee-48c592fa38d2d4e13e201cbb68eeb4c0781326f2.zip
marquee-48c592fa38d2d4e13e201cbb68eeb4c0781326f2.tar.gz
marquee-48c592fa38d2d4e13e201cbb68eeb4c0781326f2.tar.bz2
Standardize spelling of GParamSpec parameter names
Diffstat (limited to 'src')
-rw-r--r--src/back-forward-button-box.c8
-rw-r--r--src/find-toolbar.c8
-rw-r--r--src/home-button.c8
-rw-r--r--src/main-menu.c8
-rw-r--r--src/navigation-toolbar.c8
-rw-r--r--src/stop-reload-button.c10
-rw-r--r--src/tab.c4
-rw-r--r--src/uri-entry.c12
-rw-r--r--src/web-view.c10
-rw-r--r--src/window.c2
10 files changed, 39 insertions, 39 deletions
diff --git a/src/back-forward-button-box.c b/src/back-forward-button-box.c
index 1abf353..d95bf41 100644
--- a/src/back-forward-button-box.c
+++ b/src/back-forward-button-box.c
@@ -336,7 +336,7 @@ set_web_view(MqBackForwardButtonBox *back_forward_button_box,
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqBackForwardButtonBox *back_forward_button_box;
@@ -349,14 +349,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqBackForwardButtonBox *back_forward_button_box;
@@ -369,7 +369,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/find-toolbar.c b/src/find-toolbar.c
index 22982fa..16a8f3f 100644
--- a/src/find-toolbar.c
+++ b/src/find-toolbar.c
@@ -185,7 +185,7 @@ set_web_view(MqFindToolbar *find_toolbar, MqWebView *web_view)
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
switch (property_id) {
case PROP_WEB_VIEW:
@@ -193,14 +193,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqFindToolbar *find_toolbar;
@@ -212,7 +212,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/home-button.c b/src/home-button.c
index ee46497..3a0a0ab 100644
--- a/src/home-button.c
+++ b/src/home-button.c
@@ -73,7 +73,7 @@ set_web_view(MqHomeButton *home_button, MqWebView *web_view)
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
switch (property_id) {
case PROP_CONFIG:
@@ -84,14 +84,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqHomeButton *home_button;
@@ -106,7 +106,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/main-menu.c b/src/main-menu.c
index fab9ed0..88d5622 100644
--- a/src/main-menu.c
+++ b/src/main-menu.c
@@ -193,7 +193,7 @@ menu_clicked_cb(MqMainMenu *main_menu)
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqMainMenu *main_menu;
@@ -211,14 +211,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqMainMenu *main_menu;
@@ -236,7 +236,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/navigation-toolbar.c b/src/navigation-toolbar.c
index 4d6cc0b..3d991be 100644
--- a/src/navigation-toolbar.c
+++ b/src/navigation-toolbar.c
@@ -123,7 +123,7 @@ finalize(GObject *object)
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqNavigationToolbar *navigation_toolbar;
@@ -147,14 +147,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqNavigationToolbar *navigation_toolbar;
@@ -181,7 +181,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/stop-reload-button.c b/src/stop-reload-button.c
index 26fbd09..b884773 100644
--- a/src/stop-reload-button.c
+++ b/src/stop-reload-button.c
@@ -47,7 +47,7 @@ struct _MqStopReloadButtonClass {
G_DEFINE_TYPE(MqStopReloadButton, mq_stop_reload_button, GTK_TYPE_TOOL_BUTTON)
static void
-loading_cb(MqWebView *web_view, GParamSpec G_GNUC_UNUSED *paramspec,
+loading_cb(MqWebView *web_view, GParamSpec G_GNUC_UNUSED *param_spec,
MqStopReloadButton *stop_reload_button)
{
if (webkit_web_view_is_loading(WEBKIT_WEB_VIEW(web_view))) {
@@ -110,7 +110,7 @@ finalize(GObject *object)
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
switch (property_id) {
case PROP_WEB_VIEW:
@@ -118,14 +118,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqStopReloadButton *stop_reload_button;
@@ -138,7 +138,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/tab.c b/src/tab.c
index 5aa7960..f4f11bc 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -386,7 +386,7 @@ mq_tab_populate_tab(MqTab *tab)
static void
favicon_cb(WebKitWebView G_GNUC_UNUSED *web_view,
- GParamSpec G_GNUC_UNUSED *paramspec, MqTab *tab)
+ GParamSpec G_GNUC_UNUSED *param_spec, MqTab *tab)
{
cairo_surface_t *surface;
GdkPixbuf *pixbuf;
@@ -410,7 +410,7 @@ favicon_cb(WebKitWebView G_GNUC_UNUSED *web_view,
static void
title_cb(WebKitWebView G_GNUC_UNUSED *web_view,
- GParamSpec G_GNUC_UNUSED *paramspec, MqTab *tab)
+ GParamSpec G_GNUC_UNUSED *param_spec, MqTab *tab)
{
tab->title = webkit_web_view_get_title(tab->web_view);
if (tab->scrolling) {
diff --git a/src/uri-entry.c b/src/uri-entry.c
index a36434c..e91492f 100644
--- a/src/uri-entry.c
+++ b/src/uri-entry.c
@@ -141,7 +141,7 @@ mouse_target_changed_cb(MqWebView G_GNUC_UNUSED *web_view,
}
static void
-load_progress_cb(WebKitWebView *web_view, GParamSpec G_GNUC_UNUSED *paramspec,
+load_progress_cb(WebKitWebView *web_view, GParamSpec G_GNUC_UNUSED *param_spec,
MqUriEntry *uri_entry)
{
/*
@@ -160,7 +160,7 @@ load_progress_cb(WebKitWebView *web_view, GParamSpec G_GNUC_UNUSED *paramspec,
}
static void
-uri_cb(MqWebView *web_view, GParamSpec G_GNUC_UNUSED *paramspec,
+uri_cb(MqWebView *web_view, GParamSpec G_GNUC_UNUSED *param_spec,
MqUriEntry *uri_entry)
{
const gchar *uri;
@@ -207,7 +207,7 @@ set_web_view(MqUriEntry *uri_entry, MqWebView *web_view)
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
switch (property_id) {
case PROP_URI:
@@ -218,14 +218,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqUriEntry *uri_entry;
@@ -240,7 +240,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/web-view.c b/src/web-view.c
index c7128c3..9d63894 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -459,7 +459,7 @@ context_menu_cb(WebKitWebView *wk_web_view, WebKitContextMenu *context_menu,
}
static void
-uri_cb(WebKitWebView *wk_web_view, GParamSpec G_GNUC_UNUSED *paramspec)
+uri_cb(WebKitWebView *wk_web_view, GParamSpec G_GNUC_UNUSED *param_spec)
{
const gchar *uri;
MqWebView *web_view;
@@ -609,7 +609,7 @@ finalize(GObject *object)
static void
get_property(GObject *object, guint property_id, GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqWebView *web_view;
@@ -624,14 +624,14 @@ get_property(GObject *object, guint property_id, GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
static void
set_property(GObject *object, guint property_id, const GValue *value,
- GParamSpec *pspec)
+ GParamSpec *param_spec)
{
MqWebView *web_view;
@@ -647,7 +647,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id,
- pspec);
+ param_spec);
break;
}
}
diff --git a/src/window.c b/src/window.c
index a4807db..a5bf6c4 100644
--- a/src/window.c
+++ b/src/window.c
@@ -28,7 +28,7 @@
#include "tab.h"
static void
-is_maximized_cb(GtkWindow *window, GParamSpec G_GNUC_UNUSED *paramspec,
+is_maximized_cb(GtkWindow *window, GParamSpec G_GNUC_UNUSED *param_spec,
MqConfig *config)
{
mq_config_set_boolean(config, "window.maximized",