Skip to content
Browse files

markdown: Fix a few trivial warnings in the plugin code

  • Loading branch information...
1 parent e6fe234 commit a62cfae4e01071378fb2c858b5200e0ef76d4fb7 @b4n b4n committed Aug 27, 2012
Showing with 5 additions and 5 deletions.
  1. +3 −3 markdown/src/conf.c
  2. +2 −2 markdown/src/viewer.c
View
6 markdown/src/conf.c
@@ -83,7 +83,7 @@ struct _MarkdownConfigPrivate
gchar filename[PATH_MAX];
GKeyFile *kf;
guint handle;
- guint dlg_handle;
+ gulong dlg_handle;
gboolean initialized;
gchar *tmpl_text;
gsize tmpl_text_len;
@@ -433,7 +433,7 @@ markdown_config_save(MarkdownConfig *conf)
contents = g_key_file_to_data(conf->priv->kf, &len, &error);
- //g_debug("Saving: %s\n%s", conf->priv->filename, contents);
+ /*g_debug("Saving: %s\n%s", conf->priv->filename, contents);*/
if (error) {
g_warning("Error getting config data as string: %s", error->message);
@@ -452,7 +452,7 @@ markdown_config_save(MarkdownConfig *conf)
return success;
}
-gchar *
+static gchar *
color_button_get_color(GtkColorButton *color_button)
{
GdkColor color;
View
4 markdown/src/viewer.c
@@ -39,9 +39,9 @@ enum
struct _MarkdownViewerPrivate
{
MarkdownConfig *conf;
- guint load_handle;
+ gulong load_handle;
guint update_handle;
- guint prop_handle;
+ gulong prop_handle;
GString *text;
gchar enc[MD_ENC_MAX];
gdouble vscroll_pos;

0 comments on commit a62cfae

Please sign in to comment.
Something went wrong with that request. Please try again.