org.guifications.plugins: 2ab81f086633aa97bc8665065fb00eb5e6c38d5e
grim at guifications.org
grim at guifications.org
Fri Apr 4 22:15:13 CDT 2008
-----------------------------------------------------------------
Revision: 2ab81f086633aa97bc8665065fb00eb5e6c38d5e
Ancestor: 9ebffb507ff11b514ab8849c3c39ad460a1c2ecd
Author: grim at guifications.org
Date: 2008-04-05T02:14:43
Branch: org.guifications.plugins
Modified files:
manualsize/manualsize.c
ChangeLog:
made function syntax consistent
-----------------------------------------------------------------
This revision's diffstat output:
manualsize.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
-------------- next part --------------
============================================================
--- manualsize/manualsize.c 7dd52b30c14f910d98a0b57f3262b10ae1337e34
+++ manualsize/manualsize.c 752b18d66ee456efb47765ec510009ed8bb03891
@@ -46,7 +46,8 @@ static GList * books_connected = NULL;
* the widget of the added page has allocation->heigth = 1, and we cannot
* use it as a base for evaluating position of separator in a GtkVPaned
*/
-static GtkWidget * find_placed_object(GtkWidget * w, int * client_height) {
+static GtkWidget *
+find_placed_object(GtkWidget * w, int * client_height) {
GtkWidget * ret;
int border_width;
border_width = gtk_container_get_border_width( GTK_CONTAINER(w) );
@@ -65,7 +66,8 @@ static GtkWidget * find_placed_object(Gt
* It's used to find a GtkNotebook in a conversation window
* to attach a "page-added" signal handler
*/
-static GtkWidget * get_notebook(GtkWidget * w) {
+static GtkWidget *
+get_notebook(GtkWidget * w) {
if (strcmp(GTK_OBJECT_TYPE_NAME(w),"GtkNotebook")==0) return w;
if (gtk_widget_get_parent(w)==NULL) return NULL;
return get_notebook(gtk_widget_get_parent(w));
@@ -238,8 +240,7 @@ static gboolean
}
static gboolean
-plugin_load(PurplePlugin *plugin)
-{
+plugin_load(PurplePlugin *plugin) {
void * gtk_conv_handle = pidgin_conversations_get_handle();
void * conv_handle = purple_conversations_get_handle();
@@ -257,8 +258,7 @@ static gboolean
}
static gboolean
-plugin_unload(PurplePlugin *plugin)
-{
+plugin_unload(PurplePlugin *plugin) {
g_list_foreach( books_connected, cleanup_callback, NULL );
g_list_free( books_connected );
return TRUE;
More information about the Plugins-commits
mailing list