summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 15:54:49 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch)
tree8dc515efd6e0c0b0da1d7e02049f284edd6050ff /examples
parent46423e614d4fcf142d9578d4788dde664ea280f9 (diff)
downloadgtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz
Replace "gint" with "int"
Diffstat (limited to 'examples')
-rw-r--r--examples/application1/exampleapp.c2
-rw-r--r--examples/application2/exampleapp.c2
-rw-r--r--examples/application3/exampleapp.c2
-rw-r--r--examples/application4/exampleapp.c2
-rw-r--r--examples/application5/exampleapp.c2
-rw-r--r--examples/application6/exampleapp.c2
-rw-r--r--examples/application7/exampleapp.c2
-rw-r--r--examples/application8/exampleapp.c2
-rw-r--r--examples/application9/exampleapp.c2
-rw-r--r--examples/bp/bloatpad.c12
-rw-r--r--examples/plugman.c6
-rw-r--r--examples/search-bar.c4
-rw-r--r--examples/sunny.c4
13 files changed, 22 insertions, 22 deletions
diff --git a/examples/application1/exampleapp.c b/examples/application1/exampleapp.c
index 565bc35c75..a730c1f555 100644
--- a/examples/application1/exampleapp.c
+++ b/examples/application1/exampleapp.c
@@ -27,7 +27,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application2/exampleapp.c b/examples/application2/exampleapp.c
index 565bc35c75..a730c1f555 100644
--- a/examples/application2/exampleapp.c
+++ b/examples/application2/exampleapp.c
@@ -27,7 +27,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application3/exampleapp.c b/examples/application3/exampleapp.c
index 565bc35c75..a730c1f555 100644
--- a/examples/application3/exampleapp.c
+++ b/examples/application3/exampleapp.c
@@ -27,7 +27,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application4/exampleapp.c b/examples/application4/exampleapp.c
index 6ab68aebc3..1376001f2c 100644
--- a/examples/application4/exampleapp.c
+++ b/examples/application4/exampleapp.c
@@ -63,7 +63,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application5/exampleapp.c b/examples/application5/exampleapp.c
index 6ab68aebc3..1376001f2c 100644
--- a/examples/application5/exampleapp.c
+++ b/examples/application5/exampleapp.c
@@ -63,7 +63,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application6/exampleapp.c b/examples/application6/exampleapp.c
index 8ac0ebd529..89389fb52d 100644
--- a/examples/application6/exampleapp.c
+++ b/examples/application6/exampleapp.c
@@ -70,7 +70,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application7/exampleapp.c b/examples/application7/exampleapp.c
index 8ac0ebd529..89389fb52d 100644
--- a/examples/application7/exampleapp.c
+++ b/examples/application7/exampleapp.c
@@ -70,7 +70,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application8/exampleapp.c b/examples/application8/exampleapp.c
index 8ac0ebd529..89389fb52d 100644
--- a/examples/application8/exampleapp.c
+++ b/examples/application8/exampleapp.c
@@ -70,7 +70,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/application9/exampleapp.c b/examples/application9/exampleapp.c
index 8ac0ebd529..89389fb52d 100644
--- a/examples/application9/exampleapp.c
+++ b/examples/application9/exampleapp.c
@@ -70,7 +70,7 @@ example_app_activate (GApplication *app)
static void
example_app_open (GApplication *app,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
GList *windows;
diff --git a/examples/bp/bloatpad.c b/examples/bp/bloatpad.c
index ecaa9bc125..18fc9ae1ef 100644
--- a/examples/bp/bloatpad.c
+++ b/examples/bp/bloatpad.c
@@ -150,7 +150,7 @@ text_buffer_changed_cb (GtkTextBuffer *buffer,
{
GtkWindow *window = user_data;
BloatPad *app;
- gint old_n, n;
+ int old_n, n;
app = (BloatPad *) gtk_window_get_application (window);
@@ -293,10 +293,10 @@ bloat_pad_activate (GApplication *application)
static void
bloat_pad_open (GApplication *application,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
- gint i;
+ int i;
for (i = 0; i < n_files; i++)
new_window (application, files[i]);
@@ -400,7 +400,7 @@ edit_accels (GSimpleAction *action,
GtkWidget *entry;
gchar **actions;
GtkWidget *dialog;
- gint i;
+ int i;
dialog = gtk_dialog_new ();
gtk_window_set_application (GTK_WINDOW (dialog), app);
@@ -482,7 +482,7 @@ static void
dump_accels (GtkApplication *app)
{
gchar **actions;
- gint i;
+ int i;
actions = gtk_application_list_action_descriptions (app);
for (i = 0; actions[i]; i++)
@@ -512,7 +512,7 @@ bloat_pad_startup (GApplication *application)
GIcon *icon2;
GEmblem *emblem;
GFile *file;
- gint i;
+ int i;
struct {
const gchar *action_and_target;
const gchar *accelerators[2];
diff --git a/examples/plugman.c b/examples/plugman.c
index fa7359ab26..d6add253f7 100644
--- a/examples/plugman.c
+++ b/examples/plugman.c
@@ -124,10 +124,10 @@ plug_man_activate (GApplication *application)
static void
plug_man_open (GApplication *application,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
- gint i;
+ int i;
for (i = 0; i < n_files; i++)
new_window (application, files[i]);
@@ -281,7 +281,7 @@ disable_plugin (const gchar *name)
plugin_menu = find_plugin_menu ();
if (plugin_menu)
{
- gint i;
+ int i;
for (i = 0; i < g_menu_model_get_n_items (plugin_menu); i++)
{
diff --git a/examples/search-bar.c b/examples/search-bar.c
index 5790852957..d554529413 100644
--- a/examples/search-bar.c
+++ b/examples/search-bar.c
@@ -32,8 +32,8 @@ activate_cb (GtkApplication *app,
gtk_search_bar_set_key_capture_widget (GTK_SEARCH_BAR (search_bar), window);
}
-gint
-main (gint argc,
+int
+main (int argc,
gchar *argv[])
{
GtkApplication *app;
diff --git a/examples/sunny.c b/examples/sunny.c
index 2a22757e89..9cfd8bcbc0 100644
--- a/examples/sunny.c
+++ b/examples/sunny.c
@@ -55,10 +55,10 @@ activate (GApplication *application)
static void
open (GApplication *application,
GFile **files,
- gint n_files,
+ int n_files,
const gchar *hint)
{
- gint i;
+ int i;
for (i = 0; i < n_files; i++)
new_window (application, files[i]);