Mercurial > pidgin.yaz
diff src/gtkdebug.c @ 5794:5e93fc46d1af
[gaim-migrate @ 6219]
Removed the __ prefix from static functions. I love them, but ANSI C
knocked on my door and threatened to sue, saying they own all rights to
them, so I was forced to remove them.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 07 Jun 2003 07:57:24 +0000 |
parents | ec032cb2f9ec |
children | eb9cfee31244 |
line wrap: on
line diff
--- a/src/gtkdebug.c Sat Jun 07 06:41:31 2003 +0000 +++ b/src/gtkdebug.c Sat Jun 07 07:57:24 2003 +0000 @@ -64,7 +64,7 @@ } static gboolean -__configure_cb(GtkWidget *w, GdkEventConfigure *event, DebugWindow *win) +configure_cb(GtkWidget *w, GdkEventConfigure *event, DebugWindow *win) { if (GTK_WIDGET_VISIBLE(w)) { gaim_prefs_set_int("/gaim/gtk/debug/width", event->width); @@ -75,19 +75,19 @@ } static void -__clear_cb(GtkWidget *w, DebugWindow *win) +clear_cb(GtkWidget *w, DebugWindow *win) { gtk_imhtml_clear(GTK_IMHTML(win->text)); } static void -__pause_cb(GtkWidget *w, DebugWindow *win) +pause_cb(GtkWidget *w, DebugWindow *win) { win->paused = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w)); } static void -__timestamps_cb(GtkWidget *w, DebugWindow *win) +timestamps_cb(GtkWidget *w, DebugWindow *win) { win->timestamps = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w)); @@ -127,7 +127,7 @@ g_signal_connect(G_OBJECT(win->window), "delete_event", G_CALLBACK(debug_window_destroy), NULL); g_signal_connect(G_OBJECT(win->window), "configure_event", - G_CALLBACK(__configure_cb), win); + G_CALLBACK(configure_cb), win); /* Setup the vbox */ vbox = gtk_vbox_new(FALSE, 0); @@ -154,7 +154,7 @@ /* Clear button */ gtk_toolbar_insert_stock(GTK_TOOLBAR(toolbar), GTK_STOCK_CLEAR, - NULL, NULL, G_CALLBACK(__clear_cb), win, -1); + NULL, NULL, G_CALLBACK(clear_cb), win, -1); gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1); @@ -162,13 +162,13 @@ gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, _("Pause"), NULL, NULL, - NULL, G_CALLBACK(__pause_cb), win); + NULL, G_CALLBACK(pause_cb), win); /* Timestamps */ button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, _("Timestamps"), NULL, NULL, - NULL, G_CALLBACK(__timestamps_cb), + NULL, G_CALLBACK(timestamps_cb), win); win->timestamps_handle = @@ -225,7 +225,7 @@ gaim_prefs_add_int("/gaim/gtk/debug/height", 250); gaim_prefs_connect_callback("/gaim/gtk/debug/enabled", - debug_enabled_cb, NULL); + debug_enabled_cb, NULL); } void