Code clean up
This commit is contained in:
parent
f3d4e4fdf1
commit
94d4e259ad
@ -20,8 +20,6 @@
|
|||||||
#ifndef _ENCODING_H
|
#ifndef _ENCODING_H
|
||||||
#define _ENCODING_H
|
#define _ENCODING_H
|
||||||
|
|
||||||
#include <glib.h> // TODO: ????? It must to -> .c
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
IANA = 0,
|
IANA = 0,
|
||||||
OPENI18N,
|
OPENI18N,
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <glib/gprintf.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "l3afpad.h"
|
#include "l3afpad.h"
|
||||||
|
@ -32,8 +32,6 @@ gchar *get_file_basename(gchar *filename, gboolean bracket);
|
|||||||
gchar *parse_file_uri(gchar *uri);
|
gchar *parse_file_uri(gchar *uri);
|
||||||
gint file_open_real(GtkWidget *view, FileInfo *fi);
|
gint file_open_real(GtkWidget *view, FileInfo *fi);
|
||||||
gint file_save_real(GtkWidget *view, FileInfo *fi);
|
gint file_save_real(GtkWidget *view, FileInfo *fi);
|
||||||
#if ENABLE_STATISTICS
|
|
||||||
gchar *file_stats(GtkWidget *view, FileInfo *fi);
|
gchar *file_stats(GtkWidget *view, FileInfo *fi);
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _FILE_H */
|
#endif /* _FILE_H */
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
#include <glib.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
||||||
#ifndef ENABLE_PRINT
|
#ifndef ENABLE_PRINT
|
||||||
@ -60,9 +61,7 @@
|
|||||||
#include "dnd.h"
|
#include "dnd.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "emacs.h"
|
#include "emacs.h"
|
||||||
#if ENABLE_PRINT
|
|
||||||
#include "gtkprint.h"
|
#include "gtkprint.h"
|
||||||
#endif
|
|
||||||
#include <gdk/gdkkeysyms-compat.h>
|
#include <gdk/gdkkeysyms-compat.h>
|
||||||
|
|
||||||
#define gtk_check_menu_item_get_active gtk_toggle_action_get_active
|
#define gtk_check_menu_item_get_active gtk_toggle_action_get_active
|
||||||
|
@ -20,13 +20,9 @@
|
|||||||
#ifndef _UTILS_H
|
#ifndef _UTILS_H
|
||||||
#define _UTILS_H
|
#define _UTILS_H
|
||||||
|
|
||||||
#ifdef G_OS_UNIX
|
|
||||||
gchar *gedit_utils_get_stdin(void);
|
gchar *gedit_utils_get_stdin(void);
|
||||||
#endif
|
|
||||||
GtkWidget *create_button_with_stock_image(const gchar *text, const gchar *stock_id);
|
GtkWidget *create_button_with_stock_image(const gchar *text, const gchar *stock_id);
|
||||||
#if SEARCH_HISTORY
|
|
||||||
void update_combo_data(GtkWidget *entry, GList **history);
|
void update_combo_data(GtkWidget *entry, GList **history);
|
||||||
GtkWidget *create_combo_with_history(GList **history);
|
GtkWidget *create_combo_with_history(GList **history);
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _UTILS_H */
|
#endif /* _UTILS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user